Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: unixmonster/algorithms
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: algorithm-visualizer/algorithms
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 4 commits
  • 5 files changed
  • 5 contributors

Commits on May 22, 2020

  1. Integer partition (algorithm-visualizer#24)

    * 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 <ethiennegraveline@gmail.com>
    Ethienne Graveline and Eti authored May 22, 2020
    Configuration menu
    Copy the full SHA
    2881b3f View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2021

  1. Configuration menu
    Copy the full SHA
    cbb3b2d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7138698 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2021

  1. Fix counts array visualization in Counting Sort (algorithm-visualizer#28

    )
    
    * Fix counts array visualization in Counting Sort
    
    Final step did not correctly visualize decrementing the value in the counts array.
    It was decrementing the value but not updating the visualization.
    
    * Add countsTracer.depatch
    
    My previously committed code left the boxes in the counts array colored red, so I realized I had forgotten to add a depatch after the patch that I added at line 66
    webthethird authored Mar 21, 2021
    Configuration menu
    Copy the full SHA
    fe3adcf View commit details
    Browse the repository at this point in the history
Loading