โ† Myntra questions

Shorten Path String

Filed under Myntra

The question

Given a long navigation path string containing North, South, West, and East characters, shorten it and return the result sorted lexicographically.

No write-up yet. Related questions below have one.

Related Myntra questions

Collected from public candidate posts and coding forums. Updated Nov 2026.