摘要:
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
树獭君
阅读(289)
评论(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
树獭君
阅读(449)
评论(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
树獭君
阅读(197)
评论(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
树獭君
阅读(1227)
评论(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
树獭君
阅读(169)
评论(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
树獭君
阅读(323)
评论(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
树獭君
阅读(349)
评论(0)
推荐(0)
摘要:
面试的时候发现会问一些SQL的基本问题,在此总结一下。ProgramInterview/SQL这个网站上的问题还比较全。1. Join typeINNER JOIN: Returns all rows when there is at least one match in BOTH tablesLE... 阅读全文
posted @ 2015-11-07 02:12
树獭君
阅读(208)
评论(0)
推荐(0)
摘要:
QuestionFollow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solut... 阅读全文
posted @ 2015-11-07 00:10
树獭君
阅读(157)
评论(0)
推荐(0)

浙公网安备 33010602011771号