Skip to content

Commit dea5ed3

Browse files
committed
Update solution for problem 39
1 parent e0f8b59 commit dea5ed3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

LeetCode/0001-0050/039-CombinationSum.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//-----------------------------------------------------------------------------
2-
// Runtime: 244ms
3-
// Memory Usage: 31.8 MB
4-
// Link: https://leetcode.com/submissions/detail/380048857/
2+
// Runtime: 236ms
3+
// Memory Usage: 32.5 MB
4+
// Link: https://leetcode.com/submissions/detail/403607959/
55
//-----------------------------------------------------------------------------
66

77
using System;

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The C# solutions for LeetCode problems.
8282
| 36 | Valid Sudoku | [C#](./LeetCode/0001-0050/036-ValidSudoku.cs)(160ms) | O(1) | O(1) | |
8383
| 37 | Sudoku Solver | [C#](./LeetCode/0001-0050/037-SudokuSolver.cs)(168ms) | O(1) | N(1) | |
8484
| 38 | Count and Say | [C#](./LeetCode/0001-0050/038-CountAndSay.cs)(80ms) | O(N<sup>2</sup>) | O(N) | Python use an dictionary of answers |
85-
| 39 | Combination Sum | [C#](./LeetCode/0001-0050/039-CombinationSum.cs)(244ms) | O(N!) | O(N) | |
85+
| 39 | Combination Sum | [C#](./LeetCode/0001-0050/039-CombinationSum.cs)(236ms) | O(N!) | O(N) | |
8686
| 40 | Combination Sum II | [C#](./LeetCode/0001-0050/040-CombinationSum2.cs)(484ms) | O(N!) | O(N) | |
8787
| 41 | First Missing Positive | [C#](./LeetCode/0001-0050/041-FirstMissingPositive.cs)(92ms) | O(N) | O(1) | |
8888
| 42 | Trapping Rain Water | [C#](./LeetCode/0001-0050/042-TrappingRainWater.cs)(88ms) | O(N) | O(1) | |

0 commit comments

Comments
 (0)