Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 5, 2012
  1. Perf improvement for insert

    authored
    Do red pull-up check and rotation at a time.
  2. Reduce method dispatch

    authored
  3. Fix reversed name (rotation)

    authored
  4. Red/black tree implementation

    authored
Commits on Feb 4, 2012
  1. Internal method name change: 'insert' -> 'store'

    authored
    Follows name convention of tree data structure.
  2. Replace LR and RL as combination of L and R

    authored
    With help from 'protected' of Ruby.
  3. Cosmetic: typo fixed

    authored
Commits on Jan 13, 2012
  1. Add graphs for tree rotation

    authored
  2. Cosmetic

    authored
  3. Fix a bug for node delete

    authored
    It utilized delete_min for node delete always but the right branch of
    the deleted node can be EMPTY.  Use delete_min/delete_max properly.
  4. Implement delete_min

    authored
    And make delete_self use it for deleting node from a tree.
    https://twitter.com/#!/kazu_yamamoto/status/157632135140872192
  5. delete should return node

    authored
    for implementing delete_node
Commits on Jan 12, 2012
  1. Typo fixed: brank -> blank

    authored
Something went wrong with that request. Please try again.