...
Number-Systems
October 28, 2023
GATE 1991
October 28, 2023
Number-Systems
October 28, 2023
GATE 1991
October 28, 2023

GATE 1991

Question 7

The minimum number of comparisons required to sort 5 elements is _____

A
7
Question 7 Explanation: 
Minimum no. of comparisons
= ⌈log(n!)⌉
= ⌈log(5!)⌉
= ⌈log(120)⌉
= 7
Correct Answer: A
Question 7 Explanation: 
Minimum no. of comparisons
= ⌈log(n!)⌉
= ⌈log(5!)⌉
= ⌈log(120)⌉
= 7
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!!