767 Reorganize String Leetcode Solution