8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce36278 commit 8a3d4d7Copy full SHA for 8a3d4d7
src/main/java/com/fishercoder/solutions/_78.java
@@ -47,6 +47,7 @@ public static List<List<Integer>> subsets(int[] nums) {
47
}
48
49
public static class Solution2 {
50
+ /**This is the most straightforward solution and easy to follow.*/
51
public List<List<Integer>> subsets(int[] nums) {
52
List<List<Integer>> result = new ArrayList();
53
backtracking(result, new ArrayList(), nums, 0);
0 commit comments