Time Left - 15:00 mins

GATE 2025 Algorithm Evaluation Quiz 2

Attempt now to get your rank among 49 students!

Question 1

The time required to execute the following fragment of code is _______.

Question 2

Which of the following problems cannot be solved using Dynamic Programming?

Question 3

Suppose an input set of size n is applied Quick Sort and partition always produces 9 to 1 split. Find the time complexity of such organization of data.

Question 4

Consider the following max-heap which is stored in the array.
55, 48, 51, 25, 18, 35, 24, 8, 19
Which of the following represent the max heap after one deletion?

Question 5

In Quicksort for sorting n element, Partition algorithm 10th smallest element selected with O(n) is selected always, what is the time complexity of that case?
  • 49 attempts
  • 0 upvotes
  • 0 comments
Nov 28GATE & PSU CS