8000 refactor 78 · asalkov/Leetcode@8a3d4d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8a3d4d7

Browse files
refactor 78
1 parent ce36278 commit 8a3d4d7

File tree

1 file changed

+1
-0
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+1
-0
lines changed

src/main/java/com/fishercoder/solutions/_78.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public static List<List<Integer>> subsets(int[] nums) {
4747
}
4848

4949
public static class Solution2 {
50+
/**This is the most straightforward solution and easy to follow.*/
5051
public List<List<Integer>> subsets(int[] nums) {
5152
List<List<Integer>> result = new ArrayList();
5253
backtracking(result, new ArrayList(), nums, 0);

0 commit comments

Comments
 (0)
0