Minimum Length of String After Deleting Similar Ends - DSA Problem | Talentd