Python
Python copied to clipboard
All Algorithms implemented in Python
### 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? * [ ]...
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...
proposed solution : generate all primitive pythagorean triples and check if it satisfies constraints in problem statement ### Describe your change: * [x] Add an algorithm? * [ ] Fix...
### Describe your change: * [ ] Add an algorithm? * [x] Fix a bug or typo in an existing algorithm? * [ ] Documentation change? ### Checklist: * [x]...
### 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() ->...
### 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...
### 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]...
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...
### 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 *...
### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Documentation change? ### Checklist: * [...