wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

For merging two sorted lists of sizes m and n into a sorted list of size m+n, we required comparisons of

A
O(m+n)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
O(m)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
O(n)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
O(logm + logn)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Join BYJU'S Learning Program
CrossIcon