šŸŽ’
Technical Interview Study Guide
  • šŸ•Welcome!
  • šŸ„Getting Started
    • Study Plan
    • Optimizing Revision
    • Summer 2024 Timeline
    • FAQs
  • 🄨Algorithms
    • Binary Search
    • Sorting
    • Recursion
    • Graph
    • Quick Select
    • Intervals
    • Binary
    • Geometry
    • Dynamic Programming
  • šŸ„žData Structures
    • Arrays
      • Matrices
    • Strings
    • Linked Lists
      • Doubly Linked Lists
    • Hash Tables
    • Graphs
      • Trees
        • Binary Search Trees
        • Heaps
        • Tries
        • Segment Trees
    • Stacks
    • Queues
      • Double Ended Queues
    • Union-Find Disjoint Set (UFDS)
  • šŸ”Problems Guide
    • Dynamic Programming Roadmap
      • Warmup
        • Climbing Stairs
        • Nth Tribonacci Number
        • Perfect Squares
      • Linear Sequence
        • Min Cost to Climb Stairs
        • Minimum Time to Make Rope Colorful
        • House Robber
        • Decode Ways
        • Minimum Cost for Tickets
        • Solving Questions with Brainpower
  • šŸ£Other Technical Topics
    • General Problem Solving
    • Runtime Predictions
    • System Design
      • SQL
      • Accessing APIs
    • Operating Systems
  • šŸæNon-technical Topics
    • Behavioral Interviews
    • Resumes
Powered by GitBook
On this page
  1. Other Technical Topics

Runtime Predictions

These are some of the more commonly seen runtimes based on the input constraints

PreviousGeneral Problem SolvingNextSystem Design

Last updated 1 year ago

These predictions are taken from this

n <=
Allowed Time Complexity

12

25

100

500

Others

or

šŸ£
O(n!)O(n!)O(n!)
O(2n)O(2^n)O(2n)
O(n4)O(n^4)O(n4)
O(n3)O(n^3)O(n3)
10410^4104
O(n2)O(n^2)O(n2)
10610^6106
O(nlog⁔n)O(n \log n)O(nlogn)
10810^8108
O(n)O(n)O(n)
O(log⁔n)O(\log n)O(logn)
O(1)O(1)O(1)
Codeforces article.