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: I have added a new algorithm, RC4 (Rivest Cipher 4), which is a stream cipher used for encryption and decryption of messages. The RC4 algorithm generates...

awaiting reviews
tests are failing
require tests
require type hints

### Feature description Related to issue #8844 TL;DR: the current implementation doesn't give optimal solutions, the current implementation calculates SSE wrong, and we should add an implementation of a numerical...

enhancement

### Describe your change: This algorithm is a brute-force search over (nearly) all 2^n possible partitions and was created for educational purposes. The asymptotic runtime of this code is: O(n...

awaiting reviews

### Describe your change: Adding a matrix equalization algorithm, which equalizes all elements of the input vector to a common value, by making the minimal number of "updates" under the...

### Describe your change: Enable ruff `RUF007` rule * [ ] Add an algorithm? * [x] Fix a bug or typo in an existing algorithm? * [ ] Add or...

enhancement
awaiting reviews

### 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? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? -- Note:...

awaiting changes

### Describe your change: --- In this refactored version: * I've organized the code into a `KnightTour` class to encapsulate related functions. * Each method now belongs to the `KnightTour`...

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

tests are failing

### Feature description The beta release of numpy is now available so we should run the appropriate `ruff` command and ensure our algorithms are compatible... https://numpy.org/devdocs/numpy_2_0_migration_guide.html @MaximSmolskiy

enhancement