316. Remove Duplicate Letters
Channel: bab lobko
Date: 26/09/2023

Using a map and the boolean array to check if the character is added to the resulting string under consideration, we are building the lexicographically smallest string while removing having repeated characters.