Sort Questions
Define a data structure.
What is an algorithm?
What is Time Complexity and Space Complexity?
List types of primitive data structures.
Write any two applications of data structures.
Define linear data structure with an example.
Define array.
What is a linked list?
What is a circular linked list?
Give two advantages of arrays.
What is NULL pointer?
Define stack.
What is a queue?
What is a circular queue?
What is LIFO and FIFO?
List of Operations Performed on Stack
List of Operations Performed on Queue
Define a tree.
What is a binary tree?
Define AVL tree.
What is a leaf node?
What is the height of a tree?
Define graph.
Define BFS.
Define spanning tree.
What is an adjacency matrix?
What is a directed graph?
What is a weighted graph?
Long Questions
Explain Data Structure. Explain Primitive and Non-Primitive data structure detail.
Differentiate between linear and non-linear data structures with examples.
Explain time and space analysis of algorithms in detail.
What is time complexity? Explain best, average, and worst-case complexities.
What is Array? Give applications of Array.
Explain Array in detail. Explain One-dimensional and two dimensional array with example.
Explain Sparse Matrix in detail.
Write algorithms for Stack Operations – PUSH, POP, PEEP
Explain Applications of Stack.
What is Stack? Explain PUSH and POP Operations in Stack.
Convert the following infix expressions into Postfix form A * (B + C) - D ^ (E + F).
Explain the basic operations on a Queue, including Enqueue, Dequeue, Peek, and is Empty.
Describe the operations of a singly linked list.
Explain the advantages of linked lists over arrays.
Discuss the application of circular linked lists.
Write an algorithm to convert infix expression to postfix expression.
Differentiate between stack and queue with diagrams.
Explain types of queues and their operations.
What is Circular Queue? Give application of Circular Queue.
Give the difference between Queue and Circular Queue.
Explain the concept of a Queue. Describe in detail the various operations performed on a
Queue.
Write a C Program to perform insert a node at end in Single Linked List.
Describe the Breadth-First Search (BFS) algorithm in detail. Define a tree.
Discuss its properties and explain the different types of trees, including Binary Trees, Binary
Search Trees, and Balanced Trees.
What is a Spanning Tree? Explain how to find a Minimal Spanning Tree.
Describe the Breadth-First Search (BFS) algorithm in detail.