String Permutations By Changing Case Leetcode Solutions