Day 40 of LeetCode Challenge
Problem 1: Subsets
Link to the problem: https://leetcode.com/problems/subsets/
class Solution {
public List<List<Integer>> subsets(int[] nums) {
List<List<Integer>> res = new ArrayList<>();
ArrayList<Integer> arr = new ArrayLis...
tusharpant.hashnode.dev2 min read