摘要: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. Example: 题 阅读全文
posted @ 2019-04-16 11:42 小白兔云 阅读(82) 评论(0) 推荐(0) 编辑
摘要: Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in 阅读全文
posted @ 2019-04-16 11:20 小白兔云 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 whic 阅读全文
posted @ 2019-04-16 10:42 小白兔云 阅读(192) 评论(0) 推荐(0) 编辑