Lime Labs India interview question

Water-Jug puzzle, Is BST, Tree and graph problems