Zillious Interview Question

1) Rotten Orange problem. 2) Rat in a maze problem.