Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

You have nothing in your shopping cart yet.

Title: DAS
Description: DAS

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


Operations on Arrays in Data
Structures: Traversal, Insertion,
Deletion and Searching
CodeWithHarry
Today we 'll talk about some operations in array
...
It 's the easiest thing
in array, it 's like 2x2=4
...
If you want to print all the array
elements or you may want to set this array
...
or similar doubts, then your
situation is such that you need to write C language
...
At about 11 at night, you 'll be done with
it
...
I've
included practice in it
...
I'll
tell you what I was going to say
...
So, you can make two variables,
one will be capacity
...
You
can make size , it will be 5
...
Capacity shows that this is the
potential
...
That's why you take a higher capacity in array and
the size is 5
...
The
children are standing here and suppose something is
being given out like ice cream
...
Though in school you join the
line first and shift later
...
This goes up to 99, 0, 1, 2, 3, 4
...
Now, if you 're a
very lucky person , then you 'll get index number 5 for
insertion
...
I
have provided everything , just download the notes
...
I
zip it so that all codes, source codes, and pdfs are in one
place
...
It 'll be O ( 1) in best
case, you had to delete the last one
...
In both best case and worst
case cases, the size does n' matter
...
There 's
no other option , only prayers will work
...
You do n't want an overflow condition , it 's called
overflow
...
You can
search in this way, one by one
...
This is called linear search
...
You 'll take its greatest integer and
mid will be 2
...
You'll check
if it 's greater or smaller than mid , it ''s smaller
...
After this convergence, your search will be over
...
Otherwise,
binary search is the way to go
...
In the
coming videos, we 'll code these operations in C language
and C++ too
...
Python, Java etc
...
Majority of the people wanted data
structure algorithm in those languages
...
We 'll understand whatever we did
in theory and I hope you like this course
Title: DAS
Description: DAS