NextdoorCodingMembers
Sort Version Numbers
Members only
A string-processing and sorting question about putting dotted version identifiers into the right order. The tricky part is deciding how to compare versions that have different numbers of components, and then an extension changes the ordering rules again, so clean reasoning about edge cases matters.
SWE
medium
string
sorting
parsing
python
Frequency
Single report
Last asked
—
Stage
onsite-coding
Members get
- Full problem statement
- Known variants to clarify
- 3 progressive hints
- Step-by-step approach
- Full solution with code
- 4 common pitfalls
- 6 talking points
- 5 follow-up questions with answer directions
- Preparation drills
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
