cs.js icon indicating copy to clipboard operation
cs.js copied to clipboard

Add

Open o0101 opened this issue 4 years ago • 4 comments

Bubble sort Heap sort Table listing best, average and worst case complexity for everything

o0101 avatar Mar 12 '21 03:03 o0101

Selection sort , like insertion sort but reversed. insertion sort finds the correct location in the sorted list to insert the next element from the unsorted list or a selection sort finds the largest element from the unsorted list and inserts it into the end of the sorted list

o0101 avatar Mar 12 '21 04:03 o0101

Categorize into the N squared class and the n log n class, then sort within those classes for practical performance and provide benchmarks from tests (average of 50 runs) on a standard 1000 or 10,000 item list

Also deal with space complexity categorizing into the N, N log n and 1 class and sort within those classes if possible

o0101 avatar Mar 12 '21 04:03 o0101

Tree sort

o0101 avatar Apr 20 '21 10:04 o0101

Crit-bit trees - Best of both worlds: hash and heap. Insertion, deletion, and exact search. Plus find minimum and general suffix search.

One example ref: http://cr.yp.to/critbit.html

o0101 avatar Mar 26 '22 11:03 o0101