KEMBAR78
Data Structure | PDF | Data Structure | Computer Science
0% found this document useful (0 votes)
4 views6 pages

Data Structure

A data structure is a specialized format for organizing, storing, and managing data so it can be accessed and modified efficiently. It provides a way to handle large amounts of data for various operations, such as searching, sorting, inserting, deleting, and updating.

Uploaded by

Jane Gelindon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views6 pages

Data Structure

A data structure is a specialized format for organizing, storing, and managing data so it can be accessed and modified efficiently. It provides a way to handle large amounts of data for various operations, such as searching, sorting, inserting, deleting, and updating.

Uploaded by

Jane Gelindon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Data Structure

Store A Store B School

Intersection
(Home,Store A)
(Store A,Home)
9Home, Store B)
Store A Store B School
(Home,Intersection)
(Store A, Store B)
Store B, School)
(Schoo, Store B)
(School,Intersection)
(Intersection,School)
Intersection
Home (49.2,-123.4) Home (Store A,Store B,Intesection)
Store A (Home,Store B)
Store A (49.3,-123.4)

Store B (School)
Store B (49.3,-123.3)

School (Store B, Intersection)


School (49.3,-123.2)
Intersection (School)
Intersection (49.2,-123.2)
Algorithms
Operations on different data structures and sets of
instructions for executing them.
 Find all the places you can go from home
 From each of those places, find all paths
Store A Store B School
 Keep track of the distance you’ve
traveled as you go
 Repeat this process until you get to
school
 Compare the distance you’ve traveled
 Find the shortest path

Intersection
(Home,Store A)
(Store A,Home)
9Home, Store B)
Store A Store B School
(Home,Intersection)
(Store A, Store B)
Store B, School)
(Schoo, Store B)
(School,Intersection)
(Intersection,School)
Intersection
Home (49.2,-123.4) Home (Store A,Store B,Intesection)
Store A (Home,Store B)
Store A (49.3,-123.4)

Store B (School)
Store B (49.3,-123.3)

School (Store B, Intersection)


School (49.3,-123.2)
Intersection (School)
Intersection (49.2,-123.2)

You might also like