摘要:
Given a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each word is a valid dictionary word.Return all such possibl... 阅读全文
posted @ 2014-04-22 17:16
Eason Liu
阅读(3114)
评论(0)
推荐(0)
摘要:
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a... 阅读全文
posted @ 2014-04-22 16:34
Eason Liu
阅读(205)
评论(0)
推荐(0)
摘要:
The set[1,2,3,…,n]contains a total ofn! unique permutations.By listing and labeling all of the permutations in order,We get the following sequence (ie... 阅读全文
posted @ 2014-04-22 15:41
Eason Liu
阅读(157)
评论(0)
推荐(0)
摘要:
Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region... 阅读全文
posted @ 2014-04-22 15:28
Eason Liu
阅读(288)
评论(0)
推荐(0)

浙公网安备 33010602011771号