algorithms icon indicating copy to clipboard operation
algorithms copied to clipboard

Minimal examples of data structures and algorithms in Python

Results 157 algorithms issues
Sort by recently updated
recently updated
newest added

I just noticed that links in README are relative. They don't work in PyPI site repo page. (And the cool algorithms logo don't show up). Should we make them absolute...

Hi, I've find this repository really good, as I'm coding and learning new algorithm along, I think is a great Idea if I can also Optimized it and add some...

Add [LPS](https://www.geeksforgeeks.org/longest-palindromic-subsequence-dp-12/). ``` For example, s1 = 'ACBDACDBA', LPS(s1) ='ABDCDBA'. To see this clearly, we can align and capitalize the letters that are chosen to be a part of the...

Added the [Longest Common Subsequence problem](https://en.wikipedia.org/wiki/Longest_common_subsequence_problem), that uses a 2 dimensional dynamic programming table to return the LCS of two strings. The function returns a tuple that consists of: 1....

I would like to add a linear regression model to the ML folder which also includes Gradient Descent to train the model. Is that ok? and readme should be updated...

Are all of these files Python 3 compatible? If so, please add a line or two about their compatibility with Python 2/3 on the download page. Thanks

help wanted
for newcomers

Added Linear Regression.

Given an array of integers, square them, and put them back into an array For Example, if array = [1,2,5,9,12] it will be squared to [1,4,25,81,144]

Detailed Description I want to comment on the code to make it easier for others to study and more readable. Context If you translate the Readme, other Koreans can participate...