Database-Management-System
December 10, 2023
Question 1302 – Nielit STA [02-12-2018]
December 10, 2023
Database-Management-System
December 10, 2023
Question 1302 – Nielit STA [02-12-2018]
December 10, 2023

Question 1295 – Nielit STA [02-12-2018]

In the Merge sort algorithm, the time taken by the algorithm to divide an array of size n into two equal halves and many times that divide is called in overall sorting procedure is:

Correct Answer: C

Question 45 Explanation: 
→ In the Merge sort algorithm, the time taken by the algorithm to divide an array of size n into two equal halves is O(logn)
→ many times that divide is called in overall sorting procedure is O(logn)
A
O(1) and θ(logn)
B
θ(1) and θ(logn)
C
O(logn) and θ(logn)
D
θ(logn) and O(1)
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!