Leetcode 434. Number of Segments in a String | Hello Interview