Question: Consider the following graph and implement Depth First Search (DFS) on it in C+? S Question 1: Write a code in CH for Insertion Sort.

Consider the following graph and implement Depth First Search (DFS) on it in C+? S Question 1: Write a code in CH for Insertion Sort. Take an array of 7 elements (unsorted format) as an input from user. Now sort in Descending Order the elements inserted by user at runtime. Store the sorted array elements in the file now. Ask the user if he wants to delete any element the array you have stored in a file. On user request delete number 4th position element from the file. b a d f Question 2: Write a code in CH and suppose the list is empty (must check condi- tion). Write a function to add three nodes in a circular linked list. Insert data in the 4 nodes you have created. Display data of these 4 nodes you have created. Find the max element stored in these 4 nodes. Swap the elements of any 2 nodes you have created in circular linked list. End of document I Question 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
