Algorithms are everywhere. They describe the process to do something. Getting to school is an algorithm! You first walk out of your door, then you go to the car, then you wait till the car gets to school, then you get off the car, and then you walk to school.
There are many different algorithms to perform the same task, but these algorithms may use a different amount of time/resources. Let’s go take a look at going to school again. You can walk to school, or you can take the bus to school. Which one is better? Walking to school is free but is slower. Taking the bus to school is faster but costs money. You decide for a given situation.
Copyright © 2021 Code 4 Tomorrow. All rights reserved. If you would like to use content from any of our courses, you must obtain our explicit written permission and provide credit. Please contact email@example.com for inquiries.