Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Data Structures and Algorithm

Rating
-
Sold
-
Pages
15
Uploaded on
11-03-2023
Written in
2022/2023

This notes have a short notes on introduction to data structures, arrays and linked lists. In the notes every topics has brief explanations in simple words and easily understandable. Data structure is a named location that can be used to store and organize data. And, an algorithm is a collection of steps to solve a particular problem. Learning data structures and algorithms allow us to write efficient and optimized computer programs.

Show more Read less
Institution
Course

Content preview

Introduction to Data Structure with real life examples:

Big companies like Google and Amazon are collecting data
in a large amount on a daily basis. Since the data is being
collected there will be some organization and
management for it and we will also have to give a storage
format to it. This is known as Data Structure. Data
Structure is neither a software nor a data type like integer
or float. Data structure is simply a way to store the data.
The data structure is the base for everything including
your application, software, and website. If they are working
well, It means that there is a data structure behind it which
is its base. For instance, when you search for something on
Google, thousands of users are searching simultaneously ,
and you still get the results with the same speed. When
you buy any product on amazon, you enter a book Data
structure you immediately get the reviews. There is stack ,
queue , and array.


Arrays in Data Structure | Initialization, Declaration, Memory
Representation:
A simple and widely used data structure, that is Array. This is
used in high-level languages like C, C++ and Java. The array is
also used for implementing data structures like stack and
queue. So quickly like the video and subscribe to the channel.
The number of participants is fixed and the type is either male

, or female. In C and C++, an array is always started with 0. But
since I am giving you a general example , I have started it from
1. I have drawn the 5 locations of the array inside the memory
here. We will not give different names to different elements. A
unique name will be given to every element but its position will
be determined by its index number. This is the memory of 5
elements which is contiguous. This was all about the elements
in the memory , how we can access them. There is a defined
position for each element and they use contiguous memory. To
find the total number of elements or the size of the array, the
formula will be UB-LB+1. The upper bound is 5, minus lower
bound , which is 1, plus 1.



Types of Array | One dimensional & Multi-dimensional
Array:

There are two types of array. The first is One-dimensional
array and the other is Multidimensional array. In one
dimensional array, we use a single dimension to access the
data. When there are multiple dimensions, it is known as
multidimensional. In multi-dimensional arrays, we will
increase the dimensions. In the 2d array, there will be a
dimension for the rows and another for the number of
columns. There will be three rows and four columns. The
number of arrays is 2. The rows in those arrays will be 3

Written for

Course

Document information

Uploaded on
March 11, 2023
Number of pages
15
Written in
2022/2023
Type
SUMMARY

Subjects

$10.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
sivaachandran17

Get to know the seller

Seller avatar
sivaachandran17 Exam Questions
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions