Using a Robot to Print the Lexicographically Smallest String

mediumSolve on LeetCodeLast edited: August 2, 2025