Report seen similar question in interview
Java
Test Cases
Input
grid =
fuelCapacity =
Output
Expected