What is Big-O notation? (basic definition)
It is the worst case running time of an algorithm
What is an algorithm
it is like a recipe to transform ingredients(input) to a pie(output).
it is a sequence(step by step) of computational steps that allows you to transform input into output
program vs algorithm
without an algorithm, there can be no program
An algorithm can be implemented in any programming language
How do we analyze an algorithm
analyzing a program’s running time without coding it.
the amount of resources and time an algorithm uses