100+ algorithms & data structures generically implemented in C#
100+ algorithms & data structures generically implemented in C#
This is a maintained, curiosity-driven personal project that was originally not intended to be a library. Issues and pull requests for bug fixes, new algorithms, and data structures are welcome. Feel free to fork and modify the project to fit your needs.
Various important computer science algorithms generically implemented in C#. Install by nuget
For beta releases on beta branch
Install-Package Advanced.Algorithms -PreFor stable releases on stable branch
Install-Package Advanced.AlgorithmsSupports
Requires the .NET 10 SDK.
Note: It is observed that among the implementations here, in practice, with the exclusion of UpdateKey (decrement/increment) operation, regular Binary Heap & d-ary Heap outperforms other in theory superiors. Likely because it doesn't have pointer juggling overhead and hey arrays are faster!
No open issues yet, or sync has not completed.