Optimal Partition Of String Leetcode Questions