Notes

Home

❯

Computer Science

❯

Theory

❯

Big O

Big O

Jan 07, 20251 min read

Not neccessarily for Time Complexity! That’s just where you see it most often. It is just a mathematical function for anaylzing the growth of functions. See Clique, for example.

Common Functions

Ordered worst to best.

  • O(nn)
    • Shit
  • O(n!)
    • Factorial
  • O(2n)
    • Exponential
  • O(n2)
    • Quadratic
  • O(n log n)
  • O(n)
    • Linear
  • O(log n)
    • Logarthmic
  • O(1)
    • Constant

See also

Big O, Ω, Θ Notation Time Complexity Auxiliary Space Complexity Amortized Notation


Graph View

  • Common Functions
  • See also

Backlinks

  • 1. Two Sum
  • 11. Container With Most Water
  • 121. Best Time to Buy and Sell Stock
  • 125. Valid Palindrome
  • 128. Longest Consecutive Subsequence
  • 141. Linked List Cycle
  • 15. 3Sum
  • 150. Evaluate Reverse Polish Notation
  • 153. Find Minimum in Rotated Sorted Array
  • 167. Two Sum II - Input Array Is Sorted
  • 20. Valid Parentheses
  • 206. Reverse Linked List
  • 21. Merge Two Sorted Lists
  • 217. Contains Duplicate
  • 238. Product of Array Except Self
  • 242. Valid Anagram
  • 33. Search in Rotated Sorted Array
  • 347. Top K Frequent Elements
  • 36. Valid Sudoku
  • 42. Trapping Rain Water
  • 49. Group Anagrams
  • 704. Binary Search
  • 739. Daily Temperatures
  • 74. Search a 2D Matrix
  • 84. Largest Rectangle in Histogram
  • 853. Car Fleet
  • 875. Koko Eating Bananas
  • 9. Palidrome Number
  • Auxiliary Space Complexity
  • Big O, Ω, Θ Notation
  • Time Complexity

Created with Quartz v4.5.2 © 2026

  • GitHub
  • Discord Community