Ad
  • Custom User Avatar

    ohh, now it makes sense

  • Custom User Avatar
         +-------+          
         |      +++---+     
      X--+      +-+   X  
    

    ex good #5

    on 4th + it has a choice, whether to go left or right, its ambiguous, shouldn't it be false?

  • Custom User Avatar

    lift rule #6
    "When called, the Lift will stop at a floor even if it is full, although unless somebody gets off nobody else can get on!"

    I'm confused with this rule, what i understood is when the lift is full it will stop at floor even though no one can get in, although they could have get in if lift wasn't full. Am I correct or wrong, please help.

  • Custom User Avatar

    Took me 6 hours to figure out an algorithm for this kata and i finnaly did it, i must say it was quite an adventure.