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: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Documentation change? ### Checklist: * [x]...

awaiting reviews
require tests

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

awaiting reviews

### Feature description Apologies if I'm misunderstanding about how `mypy` is set up with this repo. `mypy` currently produces a litany of errors when run on its own even though...

enhancement

### 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 [machine_learning/xgboost_classifier.py](https://github.com/TheAlgorithms/Python/blob/master/machine_learning/xgboost_classifier.py) and [machine_learning/xgboost_regressor.py](https://github.com/TheAlgorithms/Python/blob/master/machine_learning/xgboost_regressor.py) are how-tos since they both just use an existing library for the actual ML algorithms. My understanding is that #7106 and #7107 were merged...

enhancement
help wanted

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

awaiting reviews
require tests

### Feature description [`greatest_common_divisor.py`](https://github.com/TheAlgorithms/Python/blob/master/maths/greatest_common_divisor.py) and [`euclidean_gcd.py`](https://github.com/TheAlgorithms/Python/blob/master/maths/euclidean_gcd.py) both have basically the same two implementations of the Euclidean algorithm for calculating the GCD of 2 numbers. Thus, one of them should probably...

enhancement

### Feature description I would like to implement segmented sieve of erathosthenes (and may be other variations of it). Please tell if you would merge that. And also let me...

enhancement

### Feature description I think one of [`3n_plus_1.py`](https://github.com/TheAlgorithms/Python/blob/master/maths/3n_plus_1.py) and [`collatz_sequence.py`](https://github.com/TheAlgorithms/Python/blob/master/maths/collatz_sequence.py) should be removed, as they're nearly identical implementations of the same algorithm for computing Collatz sequences. I'm not sure which...

enhancement

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

enhancement
awaiting reviews