phill84.org

System.out.print

Main menu

Skip to primary content
Skip to secondary content
  • home
  • tweets
  • about.me

Daily Archives: January 3, 2009

asymptotic bounds of red and black tree

Posted on January 3, 2009 by phill84
Reply

A red black tree which contains n internal nodes has a height of O(log(n)).

Definitions:

  • h(v) = height of subtree rooted at node v
  • bh(v) = the number of black nodes (not counting v if it is black) from v to any leaf in the subtree (called the black-height).

Continue reading →

Posted in Programming | Leave a reply

 

January 2009
M T W T F S S
« Dec   Feb »
 1234
567891011
12131415161718
19202122232425
262728293031  

Categories

  • blah
  • linux
  • movie
  • osx
  • Programming
  • tv
  • wordpress

Archives

Links

  • alex
  • blacktulip
  • cynix
  • deepwhite
  • dilys
  • emilia
  • maxm
  • mdl
  • net1999
  • tshijing
  • weeker
  • xia
Proudly powered by WordPress