re: thank u, next: an introduction to linked lists VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Awesome! You could use any normal sorting algorithm that you would use for an array -- I think merge sort is usually preferred for them though. The implementation is uglier than for an array though!

code of conduct - report abuse