摘要: Given a string s and a dictionary of words dict, determine if s can be break into a space-separated sequence of one or more dictionary words. Example 阅读全文
posted @ 2017-08-01 15:36 Review->Improve 阅读(327) 评论(0) 推荐(0) 编辑
摘要: A Maze is given as N*N binary matrix of blocks where source block is the upper left most block i.e., maze[0][0] and destination block is lower rightmo 阅读全文
posted @ 2017-08-01 07:03 Review->Improve 阅读(799) 评论(0) 推荐(0) 编辑
摘要: Give a number n, check if it is a fibonacci number. Solution 1. Generate a sequence of fibonacci number until we have a fibonacci number that is eithe 阅读全文
posted @ 2017-08-01 00:48 Review->Improve 阅读(136) 评论(0) 推荐(0) 编辑