Leetcode 3137. Minimum Number of Operations to Make Word K-Periodic | Hello Interview