Driver Code
public static void main ( String [ ] args ) { int [ ] nums = new int [ ] { 12 , 11 , 13 , 5 , 6 , 7 } ; mergeSort ( nums , 0 , nums . length - 1 ) ; System . out . println ( Arrays . toString ( nums ) ) ; } }