Data Structurescseitcsmcsd Csoacre22
Data Structurescseitcsmcsd Csoacre22
ACE
Engineering College
(An Autonomous Institution)
ACER22
Question Paper Code: 22CS302PC
e) What is the difference between a linear data structure and a non-linear data 1
structure?
f) Define the term "linked list." 1
j) What are the merits and demerits of brute force method for pattern matching? 1
Page |2
3 Write and explain algorithms for Push and pop operations of stack using linked list. 10
(OR)
(OR)
8 Write an algorithm for merge sort and explain with a suitable example 10
(OR)
9 Make a comparison of breadth first search and depth first search for a graph 10
(OR)