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

In classic Knapsack Problem, repetition of items is not allowed, I have written a program in which we have to find the maximum value out of the given objects with...

awaiting reviews

### Describe your change: - Add single function to calculate sum of two positive numbers using bitwise operator * [x] Add an algorithm? * [ ] Fix a bug or...

awaiting reviews

### Describe your change: * [x] Add an algorithm? ### Checklist: * [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md). * [x] This pull request is all my own work -- I have...

awaiting reviews
tests are failing

* Using `(g ** t) % N` is significantly slower than `pow(g, t, N)` as the values get larger. Replacing this allows even large examples to run nearly instantly. *...

enhancement
stale
awaiting reviews

### **Describe your change:** New implementation of the stack data structure ### **Checklist:** * [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md). * [x] This pull request is all my own work --...

stale
awaiting reviews

Added large changes to web_programming/crawl_google_results.py with `documentations` and `doctests`. Modularized the script and made it more customizable. Fixed formatting using `black` and `flake8`. * [x] Add an algorithm? * [x]...

enhancement
stale
awaiting reviews
hacktoberfest-accepted

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

awaiting reviews

### Describe your change: + Fixes the recursion exception bug in dpll. Removes a case where recursion is called with unmodified symbols. + Fixes recursion branch bug where both left...

enhancement
stale
awaiting changes

### Describe your change: Add a method to the existing Polynomial class that returns the root of a degree 1 polynomial. * [x] Add an algorithm? * [ ] Fix...

enhancement
awaiting reviews

### Describe your change: places where cleaner code is better (pylint identified) simplifying return (bools) replace type with isinstance ### Checklist: * [X] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md). * [ X]...

enhancement
tests are failing