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

## Summary **This PR adds a pure-Python implementation of the A* (A-star) pathfinding algorithm that works over arbitrary graphs via a neighbors(node) callback and an admissible heuristic h(node, goal). The...

awaiting reviews
require tests
require descriptive names

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

# Implement recursive Bubble Sort algorithm with doctests ### **Describe your change** Added a recursive implementation of the Bubble Sort algorithm with proper type hints and doctests for automated verification....

awaiting reviews

Adds the standard boilerplate code to allow the existing test cases to run. **Changes include:** * Included the required execution block (`if __name__ == '__main__':`) to call `doctest.testmod()`. This ensures...

Fixes #12826 ## Changes Made This PR modernizes the documentation theme by switching from Alabaster to Furo, a modern and clean Sphinx theme. ### Updated `pyproject.toml`: 1. **Added Furo theme...

awaiting reviews

### Describe your change: This PR adds a complete implementation of a **Splay Tree** - a self-adjusting binary search tree that provides excellent amortized performance and cache locality. **Key Features:**...

awaiting reviews
require tests

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

awaiting reviews
require tests

### Describe your change: * [x] Added 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
require tests
require type hints

Closes #13569 This PR adds a new script `ascii_to_char.py` to the conversions module with: - `ascii_to_char()`: converts ASCII integer to character - `string_to_ascii()`: converts string to list of ASCII values...

awaiting reviews

### Feature description """ The Algorithms - Python A comprehensive collection of algorithms implemented in Python for educational purposes. All implementations are designed for learning and may not be optimized...

enhancement