The Fastest Way to Alphabetically Arrange Your Bookshelf
If you have a lot of books on your bookshelf, arrange them alphabetically by author or title to make it easier to find specific books in the future. Here’s the quickest way to do it.
In this video from the TED-Ed YouTube channel , software engineer and educator Chand John explains how a simple sorting algorithm can quickly organize your bookshelf. It’s called “QuickSort” and is used by programmers in all kinds of applications. Online stores use it to sort items by price, and GPS maps use it to show you the nearest gas stations.
Start by pulling one book out of the center of the shelf. This is your chapter book. Compare every book on the shelf with a section book, then place every book that comes in front of it on the left and every book that comes after it on the right. Now select another chapter book in the middle of each chapter and follow the same sorting process as in the video. You should have all the books located pretty close to where they should be, and you can sort the rest by simply swapping a few places. Of course, if you’re not into alphabetical order, there are other ways to arrange your bookshelves .
What’s the fastest way to alphabetically arrange a bookshelf? | Youtube