October 13, 2023AlgorithmsQuestion 37 Suppose P, Q, R, S, T are sorted sequences having lengths 20, 24, 30, 35, 50 respectively. They are to be merged into a single […]
October 13, 2023AlgorithmsQuestion 38 Consider the following rooted tree with the vertex labeled P as t he root: The order in which the nodes are visited during in-order […]
October 14, 2023GATE 2007Question 14 Which of the following sorting algorithms has the lowest worst-case complexity? A Merge sort B Bubble Sort C Quick Sort D Selection Sort AlgorithmsTime-Complexity […]
October 14, 2023GATE 2007Question 15 Consider the following segment of C-code: int j, n; j = 1; while (j <= n) j = j*2; The number of comparisons made […]