4 ms·
I have a real static visualization. I should put some pictures online. My visualization does not rely on in-place algorithms: There's a square of pixels n x n
by eru 16y ago
I have a real static visualization. I should put some pictures online. My visualization does not rely on in-place algorithms: There's a square of pixels n x n, if two items are compared by the algorithm the corresponding pixel turns black, otherwise it stays white.
The traces of mergesort, quicksort and so on are quit distinctive.
- paulgb 16y agoSounds neat, please share!
- eru 16y agoI will. I could not find my old program, so I guess I will have to write a new one. Should be easy enough.
- sesqu 16y agoSounds much simpler than these ones. I've never really found it useful to see the unordered set transform into an ordered one - the point should be in how the algorithm does divide&conquer.