Generate All Permutations Of String Leetcode Problems On Arrays