Tag: time complexity
-
Big O Cheat Sheet for Common Data Structures and Algorithms
When measuring the efficiency of an algorithm, we usually take into account the time and space complexity. In this article, we will glimpse those factors on some sorting algorithms and […]
-
n-th Fibonacci Number: Recursion vs. Dynamic Programming
In this article, we will learn the concepts of recursion and dynamic programming by the familiar example which is finding the n-th Fibonacci number. Also at the same time, we […]
-
What is BigO Notation and Time Complexity?
When you try to solve a problem on some online websites, you probably come across some terms like BigO notation, O(n), O(1), O(n²), etc… or time complexity a couple of […]