Leetcode 2663. Lexicographically Smallest Beautiful String | Hello Interview