Fork me on GitHub
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 37 下一页
摘要: Initially on a notepad only one character 'A' is present. You can perform two operations on this notepad for each step: Given a number n. You have to 阅读全文
posted @ 2017-07-30 11:47 hellowOOOrld 阅读(780) 评论(0) 推荐(1)
摘要: The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each hou 阅读全文
posted @ 2017-07-25 17:35 hellowOOOrld 阅读(180) 评论(0) 推荐(0)
摘要: Note: This is an extension of House Robber. After robbing those houses on that street, the thief has found himself a new place for his thievery so tha 阅读全文
posted @ 2017-07-25 16:16 hellowOOOrld 阅读(302) 评论(0) 推荐(0)
摘要: In English, we have a concept called root, which can be followed by some other words to form another longer word - let's call this word successor. For 阅读全文
posted @ 2017-07-24 16:33 hellowOOOrld 阅读(492) 评论(0) 推荐(0)
摘要: Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are c 阅读全文
posted @ 2017-07-24 15:34 hellowOOOrld 阅读(422) 评论(0) 推荐(0)
摘要: You are given n pairs of numbers. In every pair, the first number is always smaller than the second number. Now, we define a pair (c, d) can follow an 阅读全文
posted @ 2017-07-23 13:26 hellowOOOrld 阅读(719) 评论(0) 推荐(0)
摘要: The set S originally contains numbers from 1 to n. But unfortunately, due to the data error, one of the numbers in the set got duplicated to another n 阅读全文
posted @ 2017-07-23 12:45 hellowOOOrld 阅读(375) 评论(0) 推荐(0)
摘要: Given a non-empty string check if it can be constructed by taking a substring of it and appending multiple copies of the substring together. You may a 阅读全文
posted @ 2017-07-18 21:01 hellowOOOrld 阅读(152) 评论(0) 推荐(0)
摘要: Given the running logs of n functions that are executed in a nonpreemptive single threaded CPU, find the exclusive time of these functions. Each funct 阅读全文
posted @ 2017-07-16 19:17 hellowOOOrld 阅读(330) 评论(0) 推荐(0)
摘要: Given an array consisting of n integers, find the contiguous subarray whose length is greater than or equal to k that has the maximum average value. A 阅读全文
posted @ 2017-07-16 13:50 hellowOOOrld 阅读(760) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 37 下一页