Driver code
public static void main ( String [ ] args ) { int arr [ ] = { 4 , 8 , 15 , 16 , 23 , 42 } ; int k = 3 ; int n = arr . length ; System . out . println ( calculate_minimum_split ( n , arr , k ) ) ; } }