Today I Learned that Python sort function used the TimSort algorithm after Tim Peters. It's such an awesome algorithm that Java adopted it a few years ago. Really impressive stuff that takes some time to grasp.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!