Fundamentals
/
Reorder Data in Log Files | Upgrading Junction Boxes
⏸
00:00
↻
← Prev
Next →
▶
Question
Given an array of log strings (each "id content"), return them reordered so all letter-logs come before all digit-logs. Letter-logs sort by content lexicographically (then by id), and digit-logs keep their original order.
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
10