algorithms icon indicating copy to clipboard operation
algorithms copied to clipboard

Minimal examples of data structures and algorithms in Python

Results 157 algorithms issues
Sort by recently updated
recently updated
newest added

I have included odd even sort algorithm in python.

Improved the pylint score for algorithms/arrays modules.

The tests do not pass when tested in Windows. Configure so that the test passes for both Windows and other OS.

This is a part of a school assignment #508

[Wikipedia link](https://en.wikipedia.org/wiki/Chinese_remainder_theorem) This is a part of a school assignment #508

Add number of connected components in an undirected graph, because there's only one union find problem.

https://www.youtube.com/watch?v=f1wP28zeM3w&list=PL22w63XsKjqwAgBzVFVqZNMcVKpOOAA7c&index=6 99% sure this is the proper implementation of the extended gcd. I apologize if incorrect.

Good afternoon! I would like to suggest that you add an implementation of the "smoothing" algorithm without using recursion. Added: - [x] Flatter algorithm used stack - [x] Tests