Leetcode 46 Permutations
https://leetcode.com/problems/permutations/description This is problem is asking us to find all possible permutations, one common way to do it is through DFS. First of all let’s convert this problem into a search tree so it’s easier to reason. e,g [1, 2,… Read More »Leetcode 46 Permutations