Tiger Analytics Interview Question

Puzzels and basic and medium level programming ques