Big-O Grapher
Elements (n) 50
O(1)
O(log n)
O(n)
O(n log n)
O(n^2)
O(2^n)

Understanding Time Complexity

Select complexities above to visualize how algorithms perform as the input size (n) grows.

Tip: O(n^2) and O(2^n) grow very fast!