Leetcode 1750. Minimum Length of String After Deleting Similar Ends | Hello Interview