Write a function that removes all duplicate letters from given string?
Login to Submit
Note: Duplicate letters must be removed from start. Input: "book" Output: "bok" Input: "cat" Output: "cat" Input: "jnqvzv" Output: "jnqzv" Input: "ijilktba" Output: "jilktba"