Leetcode 3399. Smallest Substring With Identical Characters II | Hello Interview