7

I am implemented different sorting algorithms in Python to better understand them, and I was wondering what type of sort does Python's built-in sort method implement?

1

1 Answer 1

18

It's an algorithm called Timsort developed by Tim Peters specifically for Python.

Sign up to request clarification or add additional context in comments.

1 Comment

Didn't want to make drastic edits for one character, but it should be "developed" with one 'p'.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.