Algorithms
Algorithms are instructions to solve a type of problem
Last updated
Was this helpful?
Algorithms are instructions to solve a type of problem
Last updated
Was this helpful?
Algorithms are instructions to solve a type of problem.
Do "blank"
Then "blank"
Finally "blank"
Getting ingredients from the fridge = seconds
Baking the cake = minutes
Frosting the cake = minutes
I don't remember grandma's recipe so i'll try
Every recipe on the internet
I don't remember grandma's recipe so i'll try
The first recipe on google
Making Grandma's Cake
Call Grandma for the recipe
Mom will bring the ingredients
Wifey will bake the cake
I will eat the cake
Sort Grandma's recipe book by category: desserts, dinners, & appetizers
Look for Grandma's cake recipe in Grandma's recipe book
Big O Notation: Group algorithms by their speed
Brute Force Algorithm: Try everything
Greedy Algorithm: Chooses the best local option
Divide & Conquer Algorithms: Convert big problems into small problems
Sorting Algorithms: Create order
Search Algorithms: Finds something