Skip to content
#

datastructure

Here are 426 public repositories matching this topic...

The official repository for our programming kitchen which consists of 50+ delicious programming recipes having all the interesting ingredients ranging from dynamic programming, graph theory, linked lists and much more. All the articles contain beautiful images and some gif/video at times to help clear important concepts.

  • Updated Aug 7, 2019
  • Python
AlexandreDecan
AlexandreDecan commented Aug 28, 2020

Python 3.9 will be released on October 5th. Among the chances for this version, dict now supports | and |=, respectively for merge and update. See https://www.python.org/dev/peps/pep-0584/

Since IntervalDict aims to follow the interface of a traditional dict, we should implement them as well.
|= will be easy to do, since we can simply delegate to IntervalDict.update.
For |,

Improve this page

Add a description, image, and links to the datastructure topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the datastructure topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.