Professional Documents
Culture Documents
Assignment 1 List-Array Based: Total Marks: 20 - Submission Date: 01-03-2017 - Submission Type: Handwritten
Assignment 1 List-Array Based: Total Marks: 20 - Submission Date: 01-03-2017 - Submission Type: Handwritten
1. Write an insert algorithm for a list, which will add new data at a location that list
remains sorted. Inputs are array, array size K, and number. [1D Array] _____/ 06
3. Write an algorithm to merge two sorted lists into one sorted list. Both lists are
sorted in ascending order. And third list will also be sorted in same order. [1 D
Array] _____/ 08
Note: Remember you will not run any sorting algorithm to sort. Your insertions will
make the list sorted. Third list is merger of these two list into one by rearranging
pointers.
TO BE FILLED BY STUDENT
Class: ________________
Registration #: ________________________
Name: _____________________________
TO BE FILLED BY TEACHER