Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
CS foundations
/
Sorting and searching
What does a stable sort guarantee when two distinct records compare equal?
from Sorting and searching
Node 24
beginner
1 min
What does a stable sort guarantee when two distinct records compare equal?
Their relative input order is preserved.
A unique identifier is added automatically.
The records become equal by value.
Their order is identical across all possible inputs.
Check
Ask AI about this kata
Report an error
previous kata
Spot the bug in response-time ranking
Spot the bug
A new version is available
Reload