Leetcode 1055. Shortest Way to Form String | Hello Interview