Altimetrik Interview Question

Water jug problem, Fibonacci series, prime number code