From: Paul Irofti Date: 2007-12-15T01:55:00+09:00 Subject: Re: [QUIZ] Programmer Ping-Pong (#150) On 2007-12-14, Ken Bloom wrote: > > #!/usr/bin/env ruby -wKU > > class AVLTree > > def initialize > @contents = [] > end > > def empty? > @contents.empty? > end > > def include?(obj) > @contents.include?(obj) > end > > def <<(obj) > @contents << obj > end > > def height > 1 > end I think that the second assert against 1 was a typo, instead of 2 he typed 1, the idea being to implement height. I see there was another answer to my pong instead this one. Who's the arbiter here? Or referee? Or jury? (-: I think we'll need one. -- everything is simple, we're stupid contact at gmail