Please anwer all questions and read carefully
This tutorial consist with 2 questions. Try to complete this tutorial by commit your changes and read the questions carefully 😄
Given unsorted array UA[]={5,1,4,2,8}, write a C program to sort a list of elements using Merge Sort Algorithm
Input
UA[]={5,1,4,2,8}
Expected Output
Sorted Element using Merge Sort Algorithm is 1,2,4,5,8
Given unsorted array UA[]={5,1,4,2,8}, write a C program to sort a list of elements using Quick Sort Algorithm
Input
UA[]={5,1,4,2,8}
Expected Output
Sorted Element using Quick Sort Algorithm is 1,2,4,5,8