Harry Potter wearing sorting hat, with Dumbledore, Snape, and McGonnagal in the background

QuickSort: A fascinating algorithm for your immediate array sorting.

When our room is a mess and we’re tired of cleaning, sometimes we just wave a wand, and everything sorts itself back where it belongs. But the best way for this magic to work is for all the messy items to group together based on what area they’re going to. This way we get lots …

QuickSort: A fascinating algorithm for your immediate array sorting. Read More »