Leetcode 1297. Maximum Number of Occurrences of a Substring | Hello Interview