TORONTO KIDS COMPUTER CLUB | Aurora Thursday Java 18:00 – 05.27
19550
post-template-default,single,single-post,postid-19550,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Aurora Thursday Java 18:00 – 05.27

02 Jun Aurora Thursday Java 18:00 – 05.27

Question:

Given an array and a separation Index as below:

Arr:  [1,3,5,7,9,15,4,8,12,13]

Separation Index: 6

All the numbers before the seperationIndex arr[0…5] are already sorted and all the numbers after and including the separation index arr[6…9] are also already sorted.

Write code to sort the complete array by using the method we discussed in the last class.

No Comments

Sorry, the comment form is closed at this time.