Asymptotic Complexity: GATE CS previous year questions
Asymptotic Complexity is part of Algorithms in the GATE CS syllabus. This page lists 27 past-paper questions on it from official GATE CS papers.
Asymptotic worst case time and space complexity
- Consider an unordered list of N distinct integers. What is the minimum number of element…
- Consider the following functions from positive integers to real numbers: 10, √n, n, log₂…
- Consider the recurrence function T(n) = 2T(√n) + 1, n > 2 ; 2, 0 < n ≤ 2 Then T(n) in…
- Consider the following C function. int fun1(int n) int i,j,k,p,q=0; for (i=1; i<n; ++i)…
- Which of the following can be recurrence relation(s) corresponding to an algorithm with…
- Consider the following recurrence relation: T(n) = 2T(n-1) + n2ⁿ for n > 0, T(0) = 1…
- Consider the following C function. int fun(int n) int i, j; for(i = 1; i <= n; i++)…
- Assume that a mergesort algorithm in the worst case takes 30 seconds for an input of…
- Which of the given options provides the increasing order of asymptotic complexity of…
- An unordered list contains n distinct elements. The number of comparisons to find an…
- The given diagram shows the flowchart for a recursive function A(n). Assume that all…
- Which one of the following correctly determines the solution of the recurrence relation…
- Consider the following operation along with Enqueue and Dequeue operations on queues…
- Consider the following recurrence relation. T(n) = T(n/2) + T(2n/5) + 7n if n > 0 ; 1 if…
- Consider functions Function_1 and Function_2 expressed in pseudocode as follows…
- Let f(n) = n and g(n) = n⁽¹⁺ˢⁱⁿⁿ⁾, where n is a positive integer. Which of the following…
- Given an integer array of size N, we want to check if the array is sorted (in either…
- Let f and g be functions of natural numbers given by f(n) = n and g(n) = n². Which of…
- Consider the equality Σᵢ₌₀ⁿ i³ = X and the following choices for X I. Θ(n⁴) II. Θ(n⁵)…
- The number of elements that can be sorted in Θ(log n) time using heap sort is
More Algorithms chapters
- Searching
- Sorting
- Hashing
- Greedy Algorithms
- Dynamic Programming
- Divide and Conquer
- Graph Traversals
- Minimum Spanning Trees
- Shortest Paths
Frequently asked questions
How many GATE CS questions are there on Asymptotic Complexity?
PrepWiser has 27 past-paper questions on Asymptotic Complexity from official GATE CS papers.
Are these real GATE CS questions?
Yes. Each one is from an official GATE CS paper and names its year and set. The answers come from the official answer keys.
Where are the step-by-step solutions?
Every question shows its answer, free. Step-by-step solutions, where available, are part of GATE CS Pro.