Search
⌘K

Leetcode 937. Reorder Data in Log Files

Partition logs into letter-logs and digit-logs, then return all letter-logs first sorted lexicographically by their contents (using identifier as a tie-breaker) followed by the digit-logs in their original relative order.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.