Closed dubek closed 11 years ago
The Queue example in ruby had a stray paren and a use of null instead of nil.
Also I'm not sure why !! is needed in Queue#isEmpty - the < operator will always return true/false. But I haven't changed that because I'm not sure.
!! was spurious, thanks!
!!
The Queue example in ruby had a stray paren and a use of null instead of nil.
Also I'm not sure why !! is needed in Queue#isEmpty - the < operator will always return true/false. But I haven't changed that because I'm not sure.