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

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

### Feature description I didn't find splay tree code in python Even my contribution is also not considered

enhancement

### Description This pull request adds a Python implementation of the **Valid Parentheses** algorithm. The algorithm checks whether a given string of brackets is valid, ensuring that every opening bracket...

tests are failing

* Update searches/binary_search.py. Always move left to locate the first occurrence of duplicate items when found a match. * Update doctests to cover duplicate items. * In `binary_search_by_recursion`, verify `sorted_collection`...

### Describe your change: Added a new algorithm for **Binary to Excess-3 Code Conversion** in the `digital_logic` directory. The algorithm converts a binary input (as a string) into its 4-bit...

awaiting reviews

This file implements a Student Management System, allowing for the management of student records, grades, attendance, and courses. It includes classes for Student, Course, and the main management system, along...

awaiting reviews
tests are failing

## Description This PR fixes a severe performance defect in the binary search implementations by removing inefficient validation checks that defeat the purpose of using binary search. ## Problem The...

Elementary Cellular Automaton (Rule 30) implementation ### Describe your change: * [x] Add an algorithm * [ ] Fix a bug or typo in an existing algorithm * [x] Add...

awaiting reviews

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

awaiting reviews
documentation

Updated compress() and decompress() methods to raise ValueError when given invalid or missing values instead of silently returning -1. This ensures consistent and predictable behavior across all methods, prevents silent...

awaiting reviews
tests are failing