
Course Overview 0
No items in this section 
Index 32

Lecture2.1

Lecture2.2

Lecture2.3

Lecture2.4

Lecture2.5

Lecture2.6

Lecture2.7

Lecture2.8

Lecture2.9

Lecture2.10

Lecture2.11

Lecture2.12

Lecture2.13

Lecture2.14

Lecture2.15

Lecture2.16

Lecture2.17

Lecture2.18

Lecture2.19

Lecture2.20

Lecture2.21

Lecture2.22

Lecture2.23

Lecture2.24

Lecture2.25

Lecture2.26

Lecture2.27

Lecture2.28

Lecture2.29

Lecture2.30

Lecture2.31

Lecture2.32


Notes 1

Lecture3.1


Data Structures Viva Question 6

Lecture4.1

Lecture4.2

Lecture4.3

Lecture4.4

Lecture4.5

Lecture4.6

Operations Of Data Structures
Operations Of Data Structures
Data Structure is the way of storing data in a computer’s memory so that it can be used easily and efficiently.
Operations Of Data Structures
1) Traversing: Every data structure contains the set of data elements. Traversing the data structure means visiting each element of the data structure in order to perform some specific operation like searching or sorting.
Example: If we need to calculate the average of the marks obtained by a student in 6 different subject, we need to traverse the complete array of marks and calculate the total sum, then we will devide that sum by the number of subjects i.e. 6, in order to find the average.
2) Insertion: Insertion can be defined as the process of adding the elements to the data structure at any location.
If the size of data structure is n then we can only insert n1 data elements into it.
3) Deletion:The process of removing an element from the data structure is called Deletion. We can delete an element from the data structure at any random location.
If we try to delete an element from an empty data structure then underflow occurs.
4) Searching: The process of finding the location of an element within the data structure is called Searching. There are two algorithms to perform searching, Linear Search and Binary Search. We will discuss each one of them later in this tutorial.
5) Sorting: The process of arranging the data structure in a specific order is known as Sorting. There are many algorithms that can be used to perform sorting, for example, insertion sort, selection sort, bubble sort, etc.
6) Merging: When two lists List A and List B of size M and N respectively, of similar type of elements, clubbed or joined to produce the third list, List C of size (M+N), then this process is called merging.
Prepare For Your Placements: https://lastmomenttuitions.com/courses/placementpreparation/
/ Youtube Channel: https://www.youtube.com/channel/UCGFNZxMqKLsqWERX_N2f08Q
Follow For Latest Updates, Study Tips & More Content!