Hacker News new | past | comments | ask | show | jobs | submit login

When comparing the sort algorithms, how is one defined as stable vs not-stable?



Whether items with same sorting key will remain in the same order or not https://en.wikipedia.org/wiki/Sorting_algorithm#Stability




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: