Grading hundreds of thousands of Graduate Entrance Exams is a hard work. It is even harder to design a process to make the results as fair as possible ...
分类:
其他好文 时间:
2018-10-02 17:54:06
阅读次数:
151
A self dividing number is a number that is divisible by every digit it contains. For example, 128 is a self dividing number because 128 % 1 == 0, 128 ...
分类:
其他好文 时间:
2018-10-02 17:47:10
阅读次数:
112
A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one p ...
分类:
其他好文 时间:
2018-10-02 17:39:06
阅读次数:
152
Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as: h d e l ...
分类:
其他好文 时间:
2018-10-02 17:27:27
阅读次数:
108
Given a collection of distinct integers, return all possible permutations. Example: Input: [1,2,3] Output: [ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1, ...
分类:
其他好文 时间:
2018-09-30 20:42:09
阅读次数:
182
Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate subsets. Exampl ...
分类:
其他好文 时间:
2018-09-30 20:41:26
阅读次数:
115
EIP 161: State trie clearing - makes it possible to remove a large number of empty accounts that were put in the state at very low cost as a result of ...
分类:
其他好文 时间:
2018-09-29 17:41:18
阅读次数:
181
Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Note: The input string may cont ...
分类:
其他好文 时间:
2018-09-28 11:04:11
阅读次数:
163
题意:n个人要运动ll长,有个bus带其中几个人,问最短时间 最后所有人在同一时间到终点是用时最少的。由于搭bus相当于加速,每个人的加速时间应该一样。先计算bus走过的路程route。看第一个人被搭t分钟(也就是所有人以后都搭t分钟),剩余的人走t分钟,route+=v2*t。bus到了v2*t的 ...
分类:
其他好文 时间:
2018-09-23 13:39:05
阅读次数:
208
Given a collection of distinct integers, return all possible permutations. 1. count==n, add tinylist to list; 2. iterate through the input array, if t ...
分类:
其他好文 时间:
2018-09-23 12:00:51
阅读次数:
172