O(1)
Constant time, independent of the input size, the algorithm doesn’t vary in efficiency as input size (n) grows
O(n)
Linear time, dependent on the input size, the algorithm become less efficient as its input size (n) grows.
O(log n)
• Logarithmic time, depended on the input size, the algorithm complexity minimizes as its input size (n) grows.