Kumi Labs Interview Question

Rotting Oranges problem solved using BFS alfgo