The insertion sort method is far more efficient if you have to sort a substantial amount of items. If you consider the book analogy again, the insertion sort method would involve taking all the books off the shelf. Then, placing them back one-by-one, ensuring that the books are placed in the correct order each time you place a book.
588
1.74K reads
CURATED FROM
IDEAS CURATED BY
Compelling and entertaining, Algorithms to Live By is packed with practical advice about how to use time, space, and effort more efficiently. And it's a fascinating exploration of the workings of computer science and the human mind
“
The idea is part of this collection:
Learn more about computerscience with this collection
How to practice effectively
The importance of consistency
How to immerse yourself in the language
Related collections
Similar ideas to 2. Insertion Sort
We all have tools in our pockets to help us.
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates