摘要: problems: Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100".class Solution {public: string... 阅读全文
posted @ 2015-06-12 15:39 尾巴草 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Problems:Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example,[1,1,2] have the following ... 阅读全文
posted @ 2015-06-12 15:09 尾巴草 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Problem:Given a collection of numbers, return all possible permutations. For example,[1,2,3] have the following permutations:[1,2,3], [1,3,2], [2,1,3]... 阅读全文
posted @ 2015-06-12 14:57 尾巴草 阅读(114) 评论(0) 推荐(0) 编辑
摘要: problems:The set [1,2,3,…,n] contains a total of n! unique permutations.By listing and labeling all of the permutations in order,We get the following ... 阅读全文
posted @ 2015-06-12 12:24 尾巴草 阅读(183) 评论(0) 推荐(0) 编辑