上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页
摘要: QuestionAccording to theWikipedia's article: "TheGame of Life, also known simply asLife, is a cellular automaton devised by the British mathematician ... 阅读全文
posted @ 2015-11-08 00:59 树獭君 阅读(242) 评论(0) 推荐(0)
摘要: QuestionGiven an arraynumscontainingn+ 1 integers where each integer is between 1 andn(inclusive), prove that at least one duplicate number must exist... 阅读全文
posted @ 2015-11-08 00:32 树獭君 阅读(175) 评论(0) 推荐(0)
摘要: QuestionGiven apatternand a stringstr, find ifstrfollows the same pattern.Herefollowmeans a full match, such that there is a bijection between a lette... 阅读全文
posted @ 2015-11-07 23:31 树獭君 阅读(287) 评论(0) 推荐(0)
摘要: QuestionA group of two or more people wants to meet and minimize the total travel distance. You are given a 2D grid of values 0 or 1, where each 1 mar... 阅读全文
posted @ 2015-11-07 14:46 树獭君 阅读(443) 评论(0) 推荐(0)
摘要: QuestionYou are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 t... 阅读全文
posted @ 2015-11-07 12:23 树獭君 阅读(196) 评论(0) 推荐(0)
摘要: QuestionGiven an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The ... 阅读全文
posted @ 2015-11-07 11:01 树獭君 阅读(167) 评论(0) 推荐(0)
摘要: QuestionRemove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results.Note: The input string m... 阅读全文
posted @ 2015-11-07 05:48 树獭君 阅读(1223) 评论(0) 推荐(0)
摘要: Referrence: Oracle Java DocTwo levelstop level: public, or package-private (no explicit modifier)member level: public, private, protected, package-pri... 阅读全文
posted @ 2015-11-07 05:05 树獭君 阅读(168) 评论(0) 推荐(0)
摘要: 面试时常问到这两种语言的区别,在此总结一下。Referrence: Udemy:python-vs-javaGenerally,Python ismuchsimpler to use, and more compact than Java. It is generally easier to lea... 阅读全文
posted @ 2015-11-07 04:03 树獭君 阅读(320) 评论(0) 推荐(0)
摘要: Referrence: BlogCompiled LanguagesExample: C, C++, JavaSource code needs to be compiled into bits and bytes that can be executed by computers.Java: so... 阅读全文
posted @ 2015-11-07 04:02 树獭君 阅读(347) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页