DSA
Ace your homework & exams now with Quizwiz!
Data Structure and Algorithm
A combination of two separate yet interrelated topics
Data Structure
A particular way of storing and organizing data in our devices to use the data efficiently and effectively.
Algorithm
A process or set of welldefined instructions typically used to solve a particular group of problems or perform a specific type of calculation.
Input Process Output
I-P-O
Dynamic Programming Greedy Algorithm Sorting Searching
TYPES OF ALGORITHM
Arrays Linked List Queues Hash Tree Graph Stacks
TYPES OF DS
Queue
is an abstract data structure that serves as a collection of elements using FIFO ordering.