give string s return lexicographically smallest subsequence s contain distinct character s exactly Example 1input s bcabcoutput abcexample 2Input s cbacdcbcoutput acdb Constraints1 slength 1000 consists lowercase english letter note this question 316 httpsleetcodecomproblemsremoveduplicateletter