GATE CS 2015, set 3 · Question 37 · Algorithms · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Assume that a mergesort algorithm in the worst case takes 30 seconds for an input of size 64. Which of the following most closely approximates the maximum input size of a problem that can be solved in 6 minutes?

  1. (A) 256
  2. (B) 512
  3. (C) 1024
  4. (D) 2048
Answer

Answer (B)

Answer from the official GATE CS 2015 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes