Oracle Interview Question

Rotting Oranges Leet Code Question