Amazon Interview Question

Find the smallest Lexicographical string