MCQ Single Best Answer Easy

QHow is the time complexity of the radix sort algorithm expressed?

ID: #21498 Time Complexity 103 views
Question Info
#21498Q ID
EasyDifficulty
Time ComplexityTopic

Choose the Best Option

Click any option to instantly check if you're correct.

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

Explanation

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

Share This Question

Challenge a friend or share with your study group.