DEV Community

Tankala Ashok
Tankala Ashok

Posted on

Python Big O: the time complexities of different data structures in Python

If you know what time complexity the data structure you are using has for your task then you can write better performant code. Check this amazing cheat sheet by Trey Hunner created to get an idea of each data structure’s operation time complexity.

Python Big O: the time complexities of different data structures in Python - Python Morsels

The time complexity of common operations on Python's many data structures.

favicon pythonmorsels.com

Top comments (0)