String Permutations By Changing Case Leetcode Two Pointers