Leetcode String And Splinters