The Wayback Machine - https://web.archive.org/web/20200826140049/https://github.com/algorithm-visualizer/algorithms
Skip to content
master
Go to file
Code

Latest commit

* Fixed error in Integer Partition
returns the wrong total for some values of n
e.g. when n is 6 returns 14 instead of 11

This more closely resembles the code from referenced in the README:
https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/math/integer-partition

* added some simple comments

* fixed error in Integer Partition
on some values it would print wrong partitions
e.g. when n is 6 [3,3,1] is printed but is not a valid output

* fixed a typo

Co-authored-by: Eti <[email protected]>
2881b3f

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

About

🔮Algorithm Visualizations

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.