bisect — Maintain Lists in Sorted Order — PyMOTW 3
Originally posted
· 1 min read
The bisect module implements an algorithm for inserting elements into a list while maintaining the list in sorted order.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.