Leetcode 2522. Partition String Into Substrings With Values at Most K | Hello Interview