2014年10月6日

leetcode -- Palindrome Partitioning II

摘要: 指责别人,看清自己[问题描述]Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome p... 阅读全文

posted @ 2014-10-06 23:13 雨歌_sky 阅读(143) 评论(0) 推荐(0) 编辑

leetcode -- Palindrome Partitioning

摘要: 谋事在人,成事在天[问题描述]Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.F... 阅读全文

posted @ 2014-10-06 22:51 雨歌_sky 阅读(174) 评论(0) 推荐(0) 编辑

leetcode -- Clone Graph

摘要: 不要晃荡,找准方向[问题描述]Clone an undirected graph. Each node in the graph contains alabeland a list of itsneighbors.OJ's undirected graph serialization:Nodes a... 阅读全文

posted @ 2014-10-06 21:17 雨歌_sky 阅读(135) 评论(0) 推荐(0) 编辑

导航