喜刷刷

Showing posts with label depth first search. Show all posts
Showing posts with label depth first search. Show all posts
Tuesday, November 25, 2014

[LeetCode] Palindrome Partitioning I, II

›
Palindrome Partitioning I Given a string  s , partition  s  such that every substring of the partition is a palindrome. Return all poss...
3 comments:
Monday, November 24, 2014

[LeetCode] Surrounded Regions

›
Given a 2D board containing  'X'  and  'O' , capture all regions surrounded by  'X' . A region is captured by fli...
6 comments:
Sunday, November 23, 2014

[LeetCode] Word Break I, II

›
Word Break I Given a string  s  and a dictionary of words  dict , determine if  s  can be segmented into a space-separated sequence of ...
5 comments:
Tuesday, November 18, 2014

[LeetCode] Word Search

›
Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell,...
13 comments:
›
Home
View web version

About Me

Yanbing Shi
View my complete profile
Powered by Blogger.