MCQ Practice Single Best Answer Topic: Time Complexity

Q How is the time complexity of the radix sort algorithm characterized?

Question ID
#21517
Subchapter
Time Complexity
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A O(N)
  • B O(log N)
  • C O(N^2)
  • D O(Nk), where k is the number of digits in the maximum number.
Correct Answer: D

Explanation

Radix sort has a time complexity of O(Nk), where N is the number of elements and k is the number of digits in the maximum number.

Share This Question

Share this MCQ with your friends or study group.