t*****g 发帖数: 113 | 1 Given a collection of numbers that might contain duplicates, return all
possible unique combinations.
How to do it without explicitly generate all of them and then use a hash
table to test?
类似的permutation II, powerset II 都有trick 可以不用brutal force, 没想出
combination怎么搞? |
|