Leetcode 1573. Number of Ways to Split a String | Hello Interview