Day 41 of LeetCode Challenge
Problem 1: Permutations
Link to the problem: https://leetcode.com/problems/permutations/
class Solution {
public List<List<Integer>> permute(int[] nums){
List<List<Integer>> res = new ArrayList<>();
backtrack(nums, 0, res);
...
tusharpant.hashnode.dev3 min read