摘要:
There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following requi... 阅读全文
posted @ 2014-07-16 19:46
SunshineAtNoon
阅读(205)
评论(0)
推荐(0)
摘要:
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-07-16 18:50
SunshineAtNoon
阅读(321)
评论(0)
推荐(0)
摘要:
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl... 阅读全文
posted @ 2014-07-16 17:18
SunshineAtNoon
阅读(238)
评论(0)
推荐(0)
摘要:
Given a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For exam... 阅读全文
posted @ 2014-07-16 16:31
SunshineAtNoon
阅读(193)
评论(0)
推荐(0)

浙公网安备 33010602011771号