Python
Python copied to clipboard
All Algorithms implemented in Python
### Describe your change: **added the 'digital_root' method to maths/sum_of_digits.py. a digital root is: https://en.wikipedia.org/wiki/Digital_root** * [x] Add an algorithm? * [ ] Fix a bug or typo in an...
### Describe your change: removes all values from list a which are also present in list b [ while keeping the initial order of the elements ] * [x] Add...
### Describe your change: graphs/BFS uses a very strange text representation of the graph: ```python g = Graph() g.add_edge(0, 1) g.add_edge(0, 2) ``` i.e. ```mermaid flowchart LR 0 --> 1...
### Describe your change: * [ ] Add an algorithm? * [X] Fix a bug or typo in an existing algorithm? * [ ] Documentation change? ### Checklist: * [X]...
### Describe your change: And test for bugs in Max Fenwick Tree and modifications to fix them. Using 1-based-indexing operations: `(index | (index + 1))` for a 0-based fenwick tree...
### Describe your change: * [x] Add an algorithm "Given a string S, return the number of chars occurrence in the S". * [ ] Fix a bug or typo...
### **Describe your change:** * [ ] Add an algorithm? * [x] Fix a bug or typo in an existing algorithm? * [x] Documentation change? ### **Checklist:** * [ ]...
This code propose a no delay highpass and lowpass filter that could be applied to arrays and time series (audio files, sensors reading, and etc), the regular Butterworth filter introduce...
Add Order-Based Crossover in GA for Solving TSP problem ### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm?...
### Describe your change: I adde bogacki shampine algorithm (3rd order) to solve ordinary differential equations, I also modified runge kurta 4th order method to a standard shape to solve...