水中的鱼

Showing posts with label Brute-force. Show all posts
Showing posts with label Brute-force. Show all posts
Wednesday, November 20, 2013

[LeetCode] WordBreak II, Solution

›
Given a string s and a dictionary of words dict , add spaces in s to construct a sentence where each word is a valid dictionary word. Ret...
Monday, January 28, 2013

[FaceBook] Hanoi Moves, Solution

›
There are K pegs. Each peg can hold discs in decreasing order of radius when looked from bottom to top of the peg. There are N discs which ...
›
Home
View web version

About Me

codingtmd
View my complete profile
Powered by Blogger.