Driver code
public static void Main ( String [ ] args ) { int [ ] enter = { 3 , 5 , 2 , 0 } ; int [ ] exit = { 0 , 2 , 4 , 4 } ; int n = enter . Length ; Console . WriteLine ( minCapacity ( enter , exit , n ) ) ; } }