Move Pieces to Obtain a String | Leetcode 2337