Comparing Running Times with Big O Notation
Big O Notation, Functions, Algorithms, DSA
2 min readFeb 25, 2024
Some time ago, I wrote about Big O notation. I mostly used pictures to show how fast different functions are. Now, I’ve created a special function based on the book “Introduction to Algorithms” by Thomas H. Cormen and others. This function helps us compare the time it takes for different functions to run, and we can…