Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

concepts of data Structure

Beoordeling
-
Verkocht
-
Pagina's
20
Geüpload op
07-03-2024
Geschreven in
2023/2024

ata structures are essential components that help organize and store data efficiently in computer memory. They provide a way to manage and manipulate data effectively, enabling faster access, insertion, and deletion operations. Common data structures include arrays, linked lists, stacks, queues, trees, and graphs , each serving specific purposes based on the requirements of the problem at hand. Understanding data structures is fundamental for designing efficient algorithms and optimizing software performance.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

Data Structures

Chapter 1


INTRODUCTION TO DS & ALGORITHM

Data Structure – Algorithm – Dynamic Memory Management - Performance
Analysis: Space Complexity, Time Complexity, Asymptotic Notations ( Big O,
Omega, Theta)



DATA STRUCTURE

What is Data?
Dictionary definition:

The quantities, characters or symbols on which operations are performed by a
computer, which may be stored and transmitted in the form of electrical signals and
recorded on magnetic, optical or mechanical recording media.

C=a+b

In the above statement, an operation is performed on both quantities. These data are
operated, stored and transmitted there by conforms to the conditions of being called
Data.

Information
When Data becomes Information?

 Data is a collection of characters such as  latipac fo aidni
 Information is : Capital of India.
 When meaning is extracted from data, data becomes information.
 In simple words, if data is in an order / in a systematic way.. it gets a structure.
 Such processed data becomes information.
 There by, to get information, data need to have a structure and for that one
need to know Data Structures.

,Data Structures
 It is an organized or systematic way of arranging and storing data.
 Systematic way of arranging data increases the efficiency of managing the
data.
 Efficiency in terms of time and space.
 Data structures provides means for managing large amounts of data.
 It also enables searching, sorting, inserting and deleting data.
 Data structures are categorized into two as
o Primitive Data Structures
o Non Primitive Data Structures

Primitive Data Structures

Primitive Data Structures are the most basic data structures available in all
programming languages such as int, float, character, Boolean, double, void etc

Non Primitive Data Structures

Non primitive data structures are complex data structures that are built using
primitive data structures such as arrays, linked lists, stacks, queues, trees, graphs
and hash tables.

Arrays: A collection of homogeneous elements stored in contiguous memory
locations.

Linked Lists: A collection of homogenous elements that are linked using pointers.

Stacks : A Collection of elements that follow First-in-First-Out (FIFO) mechanism.

Queues: A Collection of elements that follow Last-in-first-out (LIFO) mechanisms.

Trees: A hierarchical data structure consisting of nodes that are connected by edges.

Graphs: A non linear data structure consisting of nodes and edges.

Hashtable : A data structure that stores data in an associated manner using a hash
function.

Set: A collection of unique elements.

Maps: An abstract data type that contains key value pairs.

, Choice of Data Structure

Choice of data structure for a particular task depends on the type of data, amount of
data to be processed, operations to be performed on the data and the efficiency
requirements of the program.

♪ The idea of data structure is to reduce the space and time complexity of
tasks.

Why is Data Structures required?

Data Structures are required for the following reasons:

1. Data Search

Imagine, if there are 1 Million data (106) available and if an item needed to
searched, the entire (106) need to be searched. Every time a search occurs,
the whole bunch is searched, slowing down the search operation.

2. Processor Speed
Though the speed of the processor is high, if the data grows to 1 billion,
processor has its own speed limit. Therefore, the search operation is slow.
3. Too Many Parallel requests
When there are too many hits parallelly from the clients looking for data, the
operation is slow.

To resolve, the above constraints Data Structures are needed.

Data are organized in a structured way based on the type of data and operations to
be performed on the data.

ALGORITHM
Algorithm is a step by step procedure.

It provides set of instructions for a methodical implementation of ideas in a particular
order.

Algorithm is independent of any programming languages. It can be implemented in
any programming language.

Why an algorithm needs to be analyzed?

Geschreven voor

Vak

Documentinformatie

Geüpload op
7 maart 2024
Aantal pagina's
20
Geschreven in
2023/2024
Type
College aantekeningen
Docent(en)
Sudha
Bevat
Alle colleges

Onderwerpen

$8.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
manoj2

Maak kennis met de verkoper

Seller avatar
manoj2 HICET
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
2 jaar
Aantal volgers
0
Documenten
7
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen