Backtracking: finding permutations python
Tue Aug 09 2022 20:11:11 GMT+0000 (Coordinated Universal Time)
Saved by @bryantirawan #python #depth #first #search #recursive #neetcode
https://ibb.co/syS9tgW: basic decision tree to find permutations https://ibb.co/Xz5BKqD: actual decision tree. We are removing first element in array until we get to sub permutation length 1 (base case) then append all the popped variables back
https://leetcode.com/problems/permutations/submissions/
Comments