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

Here's a structured format for your pull request, incorporating your details along with placeholders for the checklist and description. You can copy and paste this directly into your PR: ---...

awaiting reviews
tests are failing
require tests
require type hints

### Describe your change: #fixed issue #11841 * [ ] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or...

awaiting reviews

### Describe your change: * šŸ“œ Updated Computer Vision docs: Swapped out the outdated link (404 error āŒ) with a CNN Explainer link šŸ”— for clearer concept understanding! 🧠✨ *...

awaiting reviews
documentation

### Describe your change: * [x] Add an algorithm? I have added an implementation of the algorithm "Gradient Descent with Momentum". Momentum is a technique to accelerate gradient descent by...

awaiting reviews
require type hints

Time Complexity: The time complexity of this algorithm is still O(n²), similar to traditional selection sort, since it involves finding the minimum element in the unsorted portion and reversing a...

awaiting reviews

Corrections Summary: - Docstring cleaned up: More accurate explanation of input/output. - Proper indexing in phase gate: The control and target qubits were set correctly (j, i). - Removed unnecessary...

awaiting reviews

### Describe your change: Added doctests to eulerian_path_and_circuit_for_undirected_graph.py Contributes to https://github.com/TheAlgorithms/Python/issues/9943 * [ ] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? *...

awaiting reviews

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

awaiting reviews

### Title: Add Lanczos Eigenvector Algorithm for Graph-based Eigenvalue Computation ### Description: This pull request introduces a new algorithm for approximating the largest eigenvalues and eigenvectors of a symmetric matrix...

### Describe your change: Created TheAlgorithms/Python/searches/knuth_morris_pratt_algorithm.py * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Documentation change? ### Checklist:...

awaiting reviews