Big-O Notation
Big-O notation describes the asymptotic upper-bound growth of an algorithm's resource usage as input size increases. It allows engineers to compare scalability without depending on a particular machine, programming language, or constant execution time.
O(1): constant growth; input size does not affect the number of operations significantly.
O(log n): logarithmic growth; the problem size is repeatedly reduced, as in binary search.
O(n): linear growth; work increases proportionally with input size.
O(n log n): common in efficient comparison-based sorting algorithms.
O(n²): quadratic growth; often caused by nested loops over the input.
0-2 years experience
2-5 years experience
5-8 years experience
8+ years experience