Leetcode 3557. Find Maximum Number of Non Intersecting Substrings | Hello Interview