Driver code
public static void main ( String [ ] args ) { int box [ ] = { 10 , 2 , 16 , 19 } ; int truck [ ] = { 29 , 25 } ; int n = box . length ; int m = truck . length ; System . out . printf ( " % d " , minTime ( box , truck , n , m ) ) ; } }