It's always good to know the time complexity of the algorithm you're going to use. What is the big-O for the average, best and worst cases for Timsort?
sort() under the hood
Time complexity of Timsort
Report a typo
Choose one option for each row
| O(nlog(n)) | O(n) | |
|---|---|---|
| average case | ||
| the worst case | ||
| the best case |
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.