## Pain vs. Suffering
You’re here because you chose to invest in a different life. A better life.
This is used to describe the complexity of an algorithm as how much time and memory it holds O is referred to the most complicated case
O(1): fixed time/space in each time an algorithm is executed.
O(N): linearly growth with data size until it reaches O (worst case).
O(N²): directly proportional to square data size “common in nested iterations”.
O(2^N): double growth with addition of data ex: recursive Fibonacci.
O(log N): little effect on growth while doubling data size
Python is an easy, simple yet very effective programming language.
the best way to avoid a surprise of immutable laiasing is don’t mutate values, (write function that make new lists)1
https://www.youtube.com/watch?v=_AEJHKGk9ns&ab_channel=PyCon2015 ↩