16 topics · 121 Qs · 7.8 marks/paper · since 2011
Across GATE CS exam papers, asymptotic complexity is evaluated through rigorous mathematical analysis and algorithmic code inspection. Across GATE CS exams, Searching, Sorting, and… Guide
Open a topic to browse, or practice it timed.
Jump to the first question from that paper.
Subject guide
Across GATE CS exam papers, asymptotic complexity is evaluated through rigorous mathematical analysis and algorithmic code inspection. Across GATE CS exams, Searching, Sorting, and Hashing are tested with a strong emphasis on exact comparison/swap counts, worst/best-case edge cases (especially for Quicksort and simultaneous min-max finding), trace-based simulation (such as step-by-step hashing probes and merge passes), and asymptotic tradeoffs for specialized or composite data inputs. GATE tests Graph Traversals (BFS and DFS) through deep theoretical properties rather than simple code tracing.
Standard Master Theorem for Divide and Conquer
Solving recurrences with balanced subproblems and polynomial overhead.
Variable Substitution for Root and Power Recurrences
Converting non-linear recurrences of the form into standard divide-and-conquer forms.
Harmonic Series Loop Bound
Nested loops where inner loop step size or limit depends proportionally on the outer loop index .
Akra-Bazzi Characteristic Exponent
Recurrences with unequal subproblem sizes, such as .
Sum of Powers of Consecutive Integers
Nested loops iterating over triangular or combinatorial indices and checking asymptotic bounds.
Limit Definition of Asymptotic Notations
Used when verifying asymptotic relations () between two standard functions.
Recurrence Variable Transformation (Square Root)
Used to convert square root recursive arguments into standard divide-and-conquer forms.
Recurrence Integrating Factor (Exponential Term)
Used to simplify linear decrease recurrences with exponential non-homogeneous terms.
Function Growth Rate Comparison and Sorting
common · MCQ · 1 marks · 2022, 2021, 2017, 2015
Given a set of 3 to 5 mathematical functions involving exponents, roots, logarithms, powers, and oscillating terms, determine their increasing order of asymptotic growth rate or evaluate asymptotic relationships between them.
Recurrence Relation Solving
common · MCQ · 2 marks · 2026, 2021, 2020, 2017
Solving divide-and-conquer recurrences with Master Theorem, variable substitution for square roots / power reductions (, ), non-standard branch factors (), or cascading/dependent recurrences.
Nested Loop and Code Snippet Complexity Analysis
common · MCQ · 2 marks · 2017, 2015, 2014
Analyzing iterative C snippets or pseudocode where inner loop bounds depend on outer loop indices (e.g. step sizes giving harmonic sums, or exponential doubling/halving counters yielding ).
Formal Asymptotic Bounds and Complexity Relationships
occasional · MCQ · 1 marks · 2024, 2022, 2015, 2013
Testing theoretical definitions and properties of notations, such as the relation between worst-case and average-case runtimes (), polynomial transformations (), or membership in P/NP/NP-Complete.
Data Structure and Algorithmic Worst-Case Scaling
occasional · MCQ · 1.5 marks · 2020, 2017, 2015, 2013
Evaluating worst-case time across a sequence of operations using aggregate amortized analysis (e.g. MultiDequeue), repeated data structure operations (e.g. inserting elements into an AVL tree of size ), or algorithm matching.
Solving Non-Standard Recurrence Relations via Substitution
common · MCQ · 2 marks · 2025, 2024
Recurrences featuring non-standard terms such as square roots or exponential coefficients that require dividing through by an integrating factor or applying variable substitution () before applying standard recurrence techniques.