Fundamental Algorithms8 sections · 291 units
Open in CourseQuiz: Practical Sorting
Test your understanding
Check Your Understanding
You need to sort strings so that "apple" comes before "Banana" (case-insensitive). What do you need?
- A.A different sorting algorithm
- B.Convert all strings to lowercase first, then sort
- C.A custom comparator that lowercases before comparing
- D.Use radix sort instead