Python
Python copied to clipboard
All Algorithms implemented in Python
This pull request resolves issue #13226 by ensuring consistent behavior when handling missing values in `coordinate_compression.py`. #### Changes made: - `compress(value)` now raises a `ValueError` if the value is not...
### Description Added a new Python script under `scripts/palindrome_checker.py`. - Checks if a given word or phrase is a palindrome - Ignores case and spaces - Verified and tested locally...
This PR improves the README.md for better readability and clarity. Changes include: - Updated headings and badges - Polished "Getting Started" section - Improved "List of Algorithms" section - Added...
Fix incorrect output for Binary Search when list contains duplicates (Fixes #13840) ### Describe your change: Fixed a bug in the binary search algorithm that caused incorrect output when the...
### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? -- Note:...
### Describe your change: * [ ] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? --...
### Describe your change: * [x] Add an algorithm? * [x] Fix a bug or typo in an existing algorithm? * [x ] Add or change doctests? -- Note: Please...
### Repository commit a0b0f414ae134aa1772d33bb930e5a960f9979e8 ### Python version (python --version) Python 3.10.7 ### Dependencies version (pip freeze) Not applicable - this is a logical bug, not dependency-related ### Expected behavior Consistent...
### Describe your change: CPU Scheduling Algorithm with user interface with custom inputs, it includes First come First serve, Shortest job first, Round Robin, Priority . * [x] Add an...
### Describe your change: * [ ] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? --...