摘要: A palindrome partition is the partitioning of a string such that each separate substring is a palindrome. For example, the string "ABACABA" could be p 阅读全文
posted @ 2017-04-17 20:33 aiterator 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array nums = , Your function should return 阅读全文
posted @ 2017-04-17 11:40 aiterator 阅读(94) 评论(0) 推荐(0) 编辑