• Moody Salem's avatar
    Best trade (#20) · 22453c0c
    Moody Salem authored
    * First test for the best trade router
    
    * Share the array in the recursion
    
    * Comment
    
    * Add comparator methods and more tests
    
    * Fix the equalTo method on the fraction
    
    * add a todo, rename `n`
    
    * Best trade exact out, more tests
    
    * Faster sorted insert
    
    * Comment fix
    
    * Handle insufficient reserves and input amount errors
    
    * Test improvements, export best trade options
    
    * Improvements to fraction, make inputOutputAmount reusable
    
    * Make comparator more reusable
    22453c0c
Name
Last commit
Last update
.github/workflows Loading commit data...
src Loading commit data...
test Loading commit data...
.babelrc Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
package.json Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...