摘要: Problem : Given a collection of integers that might contain duplicates, nums , return all possible subsets (the power set). Note: The solution set mus 阅读全文
posted @ 2020-02-03 23:21 littledy 阅读(87) 评论(0) 推荐(0)
摘要: Problem : The gray code is a binary numeral system where two successive values differ in only one bit. Given a non negative integer n representing the 阅读全文
posted @ 2020-02-03 10:29 littledy 阅读(118) 评论(0) 推荐(0)
摘要: Problem : Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should pre 阅读全文
posted @ 2020-02-03 09:05 littledy 阅读(83) 评论(0) 推荐(0)