Amazon interview question

Find the smallest Lexicographical string