Miscellaneous On Data Structures - Study Mode
[#396] What is the worst case complexity of quick hull?
Correct Answer
(C) O(N 2 )
[#397] Which of the following algorithms is the best approach for solving Huffman codes?
Correct Answer
(A) greedy algorithm
[#398] What will be the worst case time complexity of code to find sum in given query range (l,r) in an array of size n with q number of such queries?
Correct Answer
(C) O(n*q)
[#399] Fractional knapsack problem is solved most efficiently by which of the following algorithm?
Correct Answer
(C) Greedy algorithm
(F) Greedy algorithm
[#400] Which among the following problem uses the vertex cover approach?
Correct Answer
(A) Traveling salesperson problem