Permutation With Case Change Leetcode Solutions Java