...
October 15, 2023

GATE 2009

Question 11 What is the number of swaps required to sort n elements using selection sort, in the worst case? A θ(n) B θ(n log n) […]
October 15, 2023

GATE 2009

Question 13 Which of the following statement(s) is/are correct regarding Bellman-Ford shortest path algorithm? P. Always finds a negative weighted cycle, if one Q. Finds whether […]
October 15, 2023

GATE 2009

Question 14 Let πA be a problem that belongs to the class NP. Then which one of the following is TRUE? A There is no polynomial time […]
October 15, 2023

Algorithms

Question 2 Consider the following array. Which algorithm out of the following options uses the least number of comparisons (among the array elements) to sort the […]