Sorting Algorithms · Python sorted() and Timsort: Stability and Multi-Key Sorting
Question 1 of 5
What does sorted([("Asha", 2), ("Bo", 2), ("Cyrus", 1)], key=lambda r: r[1]) return, in terms of names?
Tip: press 1-4 to answer, Enter to continue. Finish the quiz to bank your XP.