(Hackerrank) HackerRank Python Certification Practice Test
Hackerrank Python Data Structures & Algorithms 5
Which sorting algorithm has the best worst-case time complexity?
Select your answer
A
Quicksort — O(n log n)
B
Bubble sort — O(n)
C
Merge sort — O(n log n)
D
Selection sort — O(n log n)
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 HACKERRANK Flashcards — Study This Quiz as Flip Cards →
📚 Want to go deeper? Read the Full HACKERRANK Study Guide →