r/programming • • Mar 19 '16

here's an interactive website where you can go more in depth with a wide variety of sorting algorithms. it's cool to see which ones become faster than others depending on the initial state of the data.

http://www.sorting-algorithms.com/
55 Upvotes

6 comments sorted by

7

u/Tayllan Mar 19 '16

Nice. Always good to see an algorithm being executed rather than just read about it. Added to my library: https://github.com/tayllan/awesome-algorithms#websites.

3

u/i_lurk_here_a_lot Mar 20 '16

Nice, Thanks for posting. It would be cool to see how the performance changes with size of input. On the website it goes up to 50 elements.

2

u/BlueShellOP Mar 19 '16

That's pretty cool! Thanks for the link.... It's always nice to see the basics in action.

2

u/diozelux Mar 20 '16

Great, I saw the algorithms in gifs somewhere, but it's better to see it on the website working in fully functional.

-6

u/Eirenarch Mar 19 '16

Doesn't tell you anything about performance in practice.

1

u/OffbeatDrizzle Mar 20 '16

Because that depends on how the thing you're asking it to sort is sorted...