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

- Improved type hints (int -> float) - Added edge case tests (angle=0, 360, 180) - Added float value tests - Added error handling for negative values - Enhanced docstring...

awaiting reviews

- Dynamic programming solution - Returns minimum cuts + one valid partition - No tests in this PR (will follow up) ### Describe your change: This algorithm returns the minimum...

tests are failing

Updated README to enhance formatting and clarity. ### Describe your change: * [ ] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? *...

awaiting reviews
documentation

### Describe your change: All CPU Scheduling Algorithm with user interface and user custom inputs with gantt chart, displays waiting, turn around time , avg waiting time and turn around...

awaiting reviews
require tests
require descriptive names

### Describe your change: Added a new **“Usage Example”** section to the `README.md` file. This section explains how users can clone the repository, run algorithms locally, use the Python interactive...

awaiting reviews
documentation

### Describe your change: Added a new algorithm implementation: **Splay Tree** under `data_structures/binary_tree/splay_tree.py`. A Splay Tree is a self-adjusting binary search tree that moves recently accessed elements closer to the...

awaiting reviews
require tests
documentation
require descriptive names

## Description This PR addresses issue #13845 by adding a new `division.py` module in the `maths` directory that provides input validation for division by zero. ### What was added: -...

awaiting reviews

## Description - Fixed handling of negative exponents in [power_using_recursion.py](cci:7://file:///d:/opensource/pythonTheAlgorithms/maths/power_using_recursion.py:0:0-0:0) - Improved test coverage with additional test cases - Added proper type hints and docstrings - Fixed code formatting and...

awaiting reviews

### Description Adds a dynamic programming implementation to find all narcissistic numbers (also known as Armstrong numbers) up to a specified limit. A narcissistic number is a number that equals...

awaiting reviews
require tests

### Describe your change: Refactor the red–black tree deletion logic in data_structures/binary_tree/red_black_tree.py to reduce cyclomatic complexity and improve readability while preserving the existing behavior Main changes: 1) Extracted the deletion...

enhancement
awaiting reviews