Min Chen School of Computer Science and Engineering Seoul National University Data Structure: Chapter 1.

Slides:



Advertisements
Similar presentations
PROGRAMMING LANGUAGE (JAVA) UNIT 42 BY ROBERT BUTTERFIELD TELEPHONE Data Structures and Algorithms.
Advertisements

Data Structures.
Chapter 3 Brute Force Brute force is a straightforward approach to solving a problem, usually directly based on the problem’s statement and definitions.
Computer Science 112 Fundamentals of Programming II Overview of Collections.
Min Chen School of Computer Science and Engineering Seoul National University Data Structure: Chapter 9.
Transform and Conquer Chapter 6. Transform and Conquer Solve problem by transforming into: a more convenient instance of the same problem (instance simplification)
CS 307 Fundamentals of Computer Science 1 Abstract Data Types many slides taken from Mike Scott, UT Austin.
Data Structures & Algorithms What The Course Is About s Data structures is concerned with the representation and manipulation of data. s All programs.
Review for Test 2 i206 Fall 2010 John Chuang. 2 Topics  Operating System and Memory Hierarchy  Algorithm analysis and Big-O Notation  Data structures.
Figure 0.3: Jacquard’s loom. Figure 0.4: The Mark I computer.
Computer Science Elementary Data Structures, Dictionaries CS 330: Algorithms Elementary Data Structures, Dictionaries Gene Itkis.
Structured Data Types and Encapsulation Mechanisms to create new data types: –Structured data Homogeneous: arrays, lists, sets, Non-homogeneous: records.
1 ES 314 Advanced Programming Lec 2 Sept 3 Goals: Complete the discussion of problem Review of C++ Object-oriented design Arrays and pointers.
C o n f i d e n t i a l Developed By Nitendra NextHome Subject Name: Data Structure Using C Title: Overview of Data Structure.
Introduction to Data Structures. Data Structures A data structure is a scheme for organizing data in the memory of a computer. Some of the more commonly.
Copyright © Wondershare Software Introduction to Data Structures Prepared by: Eng. Ahmed & Mohamed Taha.
CS 221 Analysis of Algorithms Data Structures Dictionaries, Hash Tables, Ordered Dictionary and Binary Search Trees.
Spring 2015 Lecture 6: Hash Tables
Programming Concepts Jacques Tiberghien office : Mobile :
Data Structures Winter What is a Data Structure? A data structure is a method of organizing data. The study of data structures is particularly important.
Introduction to Data Structures. Definition Data structure is representation of the logical relationship existing between individual elements of data.
Design and Analysis of Algorithms CSC201 Shahid Hussain 1.
Chapter 8 Data Abstractions Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Chapter 3 List Stacks and Queues. Data Structures Data structure is a representation of data and the operations allowed on that data. Data structure is.
Computers Data Representation Chapter 3, SA. Data Representation and Processing Data and information processors must be able to: Recognize external data.
Introduction. 2COMPSCI Computer Science Fundamentals.
CHAPTER 09 Compiled by: Dr. Mohammad Omar Alhawarat Sorting & Searching.
Computer Science Department Data Structures and Algorithms Lecture 1.
Java Collections An Introduction to Abstract Data Types, Data Structures, and Algorithms David A Watt and Deryck F Brown © 2001, D.A. Watt and D.F. Brown.
TECH Computer Science Data Abstraction and Basic Data Structures Improving efficiency by building better  Data Structure Object IN  Abstract Data Type.
Final Review Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2010.
Computer Sciences Department1. Sorting algorithm 3 Chapter 6 3Computer Sciences Department Sorting algorithm 1  insertion sort Sorting algorithm 2.
IT 152 Data Structures and Algorithms Tonga Institute of Higher Education.
Overview of Course Java Review 1. This Course Covers, using Java Abstract data types Design, what you want them to do (OOD) Techniques, used in implementation.
DATA STRUCTURE & ALGORITHMS (BCS 1223) NURUL HASLINDA NGAH SEMESTER /2014.
Min Chen School of Computer Science and Engineering Seoul National University Data Structure: Chapter 2.
Min Chen School of Computer Science and Engineering Seoul National University Data Structure: Chapter 3.
HASHING PROJECT 1. SEARCHING DATA STRUCTURES Consider a set of data with N data items stored in some data structure We must be able to insert, delete.
Foundation of Computing Systems Lecture 3 Stacks and Queues.
Data Structures Types of Data Structure Data Structure Operations Examples Choosing Data Structures Data Structures in Alice.
3 Data. Software And Data Data Data element – a single, meaningful unit of data. Name Social Security Number Data structure – a set of related data elements.
Elementary Data Organization. Outline  Data, Entity and Information  Primitive data types  Non primitive data Types  Data structure  Definition 
Data Structures academy.zariba.com 1. Lecture Content 1.Linear Data Structures 2.Trees and Graphs* 3.Dictionaries and Hash Tables 4.Homework 2.
Review for Final Exam – cs411/511 Definitions (5 questions, 2 points each) Algorithm Analysis (3 questions, 3 points each) General Questions (3 questions,
Data Structure II So Pak Yeung Outline Review  Array  Sorted Array  Linked List Binary Search Tree Heap Hash Table.
Data Structures Chapter 6. Data Structure A data structure is a representation of data and the operations allowed on that data. Examples: 1.Array 2.Record.
CSS446 Spring 2014 Nan Wang.  to study trees and binary trees  to understand how binary search trees can implement sets  to learn how red-black trees.
Computer Science: A Structured Programming Approach Using C1 8-7 Two-Dimensional Arrays The arrays we have discussed so far are known as one- dimensional.
Lecture 6 Data Structures. Stack top x.
 Saturday, April 20, 8:30-11:00am in B9201  Similar in style to written midterm exam  May include (a little) coding on paper  About 1.5 times as long.
Data Structure and Algorithms
Data Structure and Algorithm Introduction.  The manner in which computer program is being developed is not as simple as you may possibly think.  It.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To introduce the basic concepts of linked lists ❏ To introduce the basic concepts.
Lecture: Priority Queue. Questions Is array a data structure? What is a data structure? What data structures are implemented by array? Priority queue.
Introduction to Data Structure and Algorithms
DATA STRUCURES II CSC QUIZ 1. What is Data Structure ? 2. Mention the classifications of data structure giving example of each. 3. Briefly explain.
INTRODUCTION TO DATA STRUCTURES 1. DATA STRUCTURES A data structure is a scheme for organizing data in the memory of a computer. Some of the more commonly.
Planning & System installation
Data Structure By Amee Trivedi.
Course Developer/Writer: A. J. Ikuomola
Fundamentals of Programming II Overview of Collections
COMP 53 – Week Eleven Hashtables.
Chapter 15 Lists Objectives
Figure 0.3: Jacquard’s loom
Ալգորիթմներ Stack, Queue, Tree.
COP3530- Data Structures Introduction
Heaps Chapter 6 Section 6.9.
Presentation transcript:

Min Chen School of Computer Science and Engineering Seoul National University Data Structure: Chapter 1

 What is Data Structure  The Importance of Data Structure  Type of Data Structure

 Data structures are ways in which data is arranged in your computer’s memory (or stored on disk).  Algorithms are the procedures a software program uses to manipulate the data in these structures.

 Almost every computer program, even a simple one, uses data structures and algorithms.  Example:  Program: To print a address list ▪ Data Structure: Array ▪ Algorithm: Loop Program = Data Structure + Algorithm

 Arrays  Ordered Array  Stacks  Queues  Priority Queues  Linked Lists  Tree  Binary Tree  Hash Table  Heap

 A container to be filled with elements (0,0) (4,2)  Each element can be accessed via unique remark Fig.1 A 2-Dimensional Array

 You can only eat the top apple first  FILO (First In Last Out) Fig.2 An Apple Stack

 The one came first can get the ticket first  FIFO(First In First Out) Fig.3 A Queue for Tickets

 A linear sequence, but the Storage of elements is always not linear Data Link  Each record contains a reference (i.e., a link) to the next record in the sequence Fig.4 A Gold Chain

 Start from the root, end at the leaves  No loop allowed Is Not a Tree in Data Structure Is a Tree in Data Structure Fig.5 A Family Tree of AbramFig.6 An Unusual Family Tree