Skip to content

Latest commit

 

History

History

candy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Two passes

  • from left to right

    Ensure any child has more candies than the child on his left

  • from right to left

    Ensure any child has more candies than the child on his right