Question: 1. List out any four data structures and explain them briefly. 2. Describe the order of growth of each of the following functions using
1. List out any four data structures and explain them briefly. 2. Describe the order of growth of each of the following functions using O notation.[2 Marks] 2N + 3N + 5 [2 marks] i) ii) 5 N log N + 9 3. Explain why Selection sort algorithm is O(N) algorithm. [3 marks] 4. Write an algorithm to insert a node at the head of a circular linked list. [3 marks]
Step by Step Solution
3.37 Rating (147 Votes )
There are 3 Steps involved in it
1 Four common data structures are a Arrays Contiguous memory storage for elements allowing constantt... View full answer
Get step-by-step solutions from verified subject matter experts
