Python
Python copied to clipboard
All Algorithms implemented in Python
### Describe your change: I added comprehensive doctests to the `sum_of_arithmetic_series` function to ensure its reliability and to cover a range of use cases, including: 1. **Basic Functionality**: - Added...
The problem is to find the longest palindromic substring within a given string. The optimal solution uses an expand around center approach, where each character (and the gap between every...
### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [x] Add or change doctests? -- Note: Please...
### Describe your change: Just adding a simple dynamic array implementation, in python all list are dynamically resized. This repo is for those who what to understand this in depth...
### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? -- Note:...
# Description of Change The code is designed to identify the optimal random state for a Random Forest Classifier to maximize its prediction accuracy on a given dataset. It uses...
### Describe your change: adding the hilbert curve fractal * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add...
### Describe your change: adding the barnsley fern fractal * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add...
### Describe your change: adding more image resizing methods * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add...
### Describe your change: Implemented a recursive + memorization solution for the popular dynamic programming question House Robber. * [x] Add an algorithm? * [ ] Fix a bug or...