Driver Code
public static void main ( String args [ ] ) { int arr [ ] [ ] = { { 2 , 1 , 0 , 2 , 1 } , { 1 , 0 , 1 , 2 , 1 } , { 1 , 0 , 0 , 2 , 1 } } ; System . out . println ( maximumTime ( arr ) ) ; } }