C++20 sections · 1024 units
Open in CourseQuiz: Sorting Pairs
Knowledge check
Check Your Understanding
After sorting {(3,5), (1,9), (3,2), (1,5)}, what is the order?
- A.(1,5), (1,9), (3,2), (3,5)
- B.(3,2), (1,5), (3,5), (1,9)
- C.(1,9), (3,5), (1,5), (3,2)
- D.(3,5), (3,2), (1,9), (1,5)