Leetcode 3398. Smallest Substring With Identical Characters I | Hello Interview