摘要: Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: Input: "25525511135" Output: ["255 阅读全文
posted @ 2020-02-17 12:43 xuan_abc 阅读(150) 评论(0) 推荐(0)
摘要: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. Example: I 阅读全文
posted @ 2020-02-17 11:47 xuan_abc 阅读(128) 评论(0) 推荐(0)
摘要: Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be 阅读全文
posted @ 2020-02-17 10:53 xuan_abc 阅读(112) 评论(0) 推荐(0)
摘要: Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set). Note: The solution set must not conta 阅读全文
posted @ 2020-02-17 03:43 xuan_abc 阅读(96) 评论(0) 推荐(0)