Computer Science, asked by srinivasrti19, 11 months ago

Given an array of size n + m where first n elements are sorted and rest m elements are not sorted ; sort the whole array in_place !

Answers

Answered by kswami848
0

Answer:

__

Explanation:

define an array size of m.

and store in this array unsorted numbers.

now use buble sort on small array.and change last m elements of big array by sorted array's number. this photo about buble sort.

Attachments:
Similar questions