Using a Robot to Print the Lexicographically Smallest String

mediumSolve on LeetCode
Last edited: August 2, 2025