I have a doubt regarding the time complexity of the approch . is it O(root(n))
Problem-https://leetcode.com/problems/permutations/