Lintcode
焦一正 Andy Jiao
这个作者很懒,什么都没留下…
展开
-
[Lintcode 108] Palindrome Partitioning II
DescriptionGiven a string s, cut s into some substrings such that every substring is a palindrome.Return the minimum cuts needed for a palindrome partitioning of s.ExamplesExample 1:Input: “a”Ou...原创 2019-12-02 04:21:18 · 153 阅读 · 0 评论 -
[Lintcode 136] Palindrome Partitioning
DescriptionEnglishGiven a string s. Partition s such that every substring in the partition is a palindrome.Return all possible palindrome partitioning of s.ExamplesExample 1:Input: “a”Output: [...原创 2019-12-02 02:19:04 · 105 阅读 · 0 评论 -
[Lintcode 11] Search Range in Binary Search Tree
DescriptionGiven a binary search tree and a range [k1, k2], return node values within a given range in ascending order. (https://www.lintcode.com/problem/search-range-in-binary-search-tree/descriptio...原创 2019-11-27 10:03:15 · 160 阅读 · 0 评论