Given a string of route directions containing North, South, East, and West, find the net displacement and reduce it to the minimum equivalent moves, returning the result as a lexicographically sorted…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.