Skip to content

A version of `collections.Counter` that has a sorting order

License

Notifications You must be signed in to change notification settings

JCGoran/sortedcounter-cpp

Repository files navigation

SortedCounterCPP

What's this?

A Python package that's like the built-in collections.Counter, but sorted. Access to min/max elements is guaranteed to have $O(\log n)$ time complexity.

Compatibility

CPython only for now.

The API currently supports only elements of C++ type double (equivalent to Python's float).

License

See LICENSE.

About

A version of `collections.Counter` that has a sorting order

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published