Single Choice Easy

QHow is the time complexity of bubble sort characterized?

ID: #21491 Time Complexity 113 views
Question Info
#21491Q ID
EasyDifficulty
Time ComplexityTopic

Choose the Best Option

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

  • A O(N)
  • B O(N log N)
  • C O(N^2)
  • D O(1)
Correct Answer

Explanation

Bubble sort has a time complexity of O(N^2), making it inefficient for large datasets. It involves repeated swapping of adjacent elements until the entire list is sorted.

Share This Question

Challenge a friend or share with your study group.