Skip to content

Commit c9b0a49

Browse files
author
Tushar Borole
committed
40. Combination Sum II
1 parent f2c66d2 commit c9b0a49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
| 540 | [Single Element in a Sorted Array](https://leetcode.com/problems/single-element-in-a-sorted-array/) | [single_element_in_a_sorted_array.js](single_element_in_a_sorted_array.js) | 60 ms | 35.2 MB | Medium |
6464
| 347 | [Top K Frequent Elements](https://leetcode.com/problems/top-k-frequent-elements/) | [top_k_frequent_elements.js](top_k_frequent_elements.js) | 80 ms | 39.1 MB | Medium |
6565
| 39 | [Combination Sum](https://leetcode.com/problems/combination-sum/) | [combination_sum.js](combination_sum.js) | 72 ms | 35.8 MB | Medium |
66-
| 40 | [Combination Sum II](https://leetcode.com/problems/combination-sum-ii/) | | 84 ms | 37.6 MB | Medium |
66+
| 40 | [Combination Sum II](https://leetcode.com/problems/combination-sum-ii/) | [combination_sum_II.js](combination_sum_II.js) | 84 ms | 37.6 MB | Medium |
6767

6868

6969
## Others

combination_sum_II.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ var combinationSum2 = function(
4343
return combinations;
4444
};
4545

46-
combinationSum2([10, 1, 2, 7, 6, 1, 5], 8); //?
46+
combinationSum2([10, 1, 2, 7, 6, 1, 5].sort(), 8); //?

0 commit comments

Comments
 (0)