摘要: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. A palindro 阅读全文
posted @ 2020-07-09 07:39 CNoodle 阅读(601) 评论(0) 推荐(0)
摘要: Numbers can be regarded as product of its factors. For example, 8 = 2 x 2 x 2; = 2 x 4. Write a function that takes an integer n and return all possib 阅读全文
posted @ 2020-07-09 05:20 CNoodle 阅读(272) 评论(0) 推荐(0)