Coviam interview question

puzzles, algos, tree based questions