Python icon indicating copy to clipboard operation
Python copied to clipboard

All Algorithms implemented in Python

Results 1352 Python issues
Sort by recently updated
recently updated
newest added

### Describe your change: Add an algorithm for the ```maximum_subsequence_sum``` in an array inline with the existing ```maximum_subarray``` in the [other](https://github.com/TheAlgorithms/Python/tree/master/other) directory. * [x] Add an algorithm? * [ ]...

awaiting reviews

Corrected the split docstring to reflect the working of the function, i.e., elements equal to the split value will be contained by left subtree, which before correction the docstring stated...

enhancement
awaiting reviews

proposed solution : generate all primitive pythagorean triples and check if it satisfies constraints in problem statement ### Describe your change: * [x] Add an algorithm? * [ ] Fix...

awaiting reviews
tests are failing
require tests

### Describe your change: * [ ] Add an algorithm? * [x] Fix a bug or typo in an existing algorithm? * [ ] Documentation change? ### Checklist: * [x]...

enhancement
awaiting reviews

### Feature description > Please provide return type hint for the function: __init__. If the function does not return a value, please provide the type hint as: def function() ->...

enhancement

### Describe your change: Add hash map data structure. Another name for a hash map is a hash table. And there is a file with such name. The difference with...

awaiting reviews

### Describe your change: I have added this algorithm so that it can help others to use it and get to know how simply CORDIC works. Fixes: #7490 * [x]...

awaiting reviews
require tests
require descriptive names

Replace/remove instructions on individual tools usage with pre-commit. Instruction with flake8 is a bit misleading since the project uses flake8 plugins that should be installed to get the same linting...

awaiting reviews
documentation

### Describe your change: - Add flake8 docstring to the pre-commit hook - Add global configuration for checks - Add per-file exclusion to the violation. - Minor doc fixes *...

enhancement
awaiting reviews

### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Documentation change? ### Checklist: * [...

awaiting reviews