Python
Python copied to clipboard
All Algorithms implemented in Python
### Describe your change: Refactor bottom-up edit distance function to be part of the `EditDistance` class and renamed functions and variables for consistency * [ ] Add an algorithm? *...
### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Documentation change? ### Checklist: * [x]...
…ic subsequence ### Describe your change: New code for longest palindromic subsequence using Dynamic programming (bottom up approach). * [x] Add an algorithm? * [ ] Fix a bug or...
### Feature description Use `flake8-print` plugin to check for print statements and remove them if found within variable scopes
### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Documentation change? ### Checklist: * [x]...
**With respect to *Blockchain* File** ### Describe your change: * [ ] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [x] Documentation...
### Describe your change: calculates average of all given values with high precision. * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm?...
### Describe your change: Reduce the complexity of sorts/merge_insertion sort.py from 19 to 9 * [ ] Add an algorithm? * [x] Fix a bug or typo in an existing...
### Describe your change: Consolidate the requirements into `pyproject.toml` https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/ * [ ] Add an algorithm? * [x] Fix a bug or typo in an existing algorithm? * [ ]...
### Repository commit master ### Python version (python --version) Python 3.11.0 ### Dependencies version (pip freeze) None ### Expected behavior @D4rkia Can you please examine [line 132 of `genetic_algorithm/basic_string.py`](https://github.com/TheAlgorithms/Python/blob/master/genetic_algorithm/basic_string.py#L132) and...