intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Lecture Data Structures & Algorithms: Chapter 0

Chia sẻ: Na Na | Ngày: | Loại File: PPTX | Số trang:9

45
lượt xem
2
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

Lecture Data Structures & Algorithms: Chapter 0 - Introduction presented what is Data Structures and other content. Invite you to read the lecture.

Chủ đề:
Lưu

Nội dung Text: Lecture Data Structures & Algorithms: Chapter 0

  1. DONG NAI UNIVERSITY OF TECHNOLOGY Data Structures & Algorithms
  2. DONG NAI UNIVERSITY OF TECHNOLOGY Introduction
  3. DONG NAI UNIVERSITY OF TECHNOLOGY • What is Data Structures? – A data structure is defined by • (1) the logical arrangement of data elements, combined with • (2) the set of operations we need to access the elements.
  4. DONG NAI UNIVERSITY OF TECHNOLOGY Atomic Variables • Atomic variables can only store one value at a time. int nSum; float fMark; • A value stored in an atomic variable cannot be subdivided.
  5. DONG NAI UNIVERSITY OF TECHNOLOGY • Example: Library – is composed of elements (books) – Accessing a particular book requires knowledge of the arrangement of the books – Users access books only through the librarian
  6. DONG NAI UNIVERSITY OF TECHNOLOGY Basic Data Structures • Structures include – Condensed lists – Linked lists – Stack, Queue – Binary trees – …and others
  7. DONG NAI UNIVERSITY OF TECHNOLOGY What is Algorithm? – A computable set of steps to achieve a desired result – Relationship to Data Structure • Example: Find an element, Sort list
  8. DONG NAI UNIVERSITY OF TECHNOLOGY
  9. DONG NAI UNIVERSITY OF TECHNOLOGY END
ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
12=>0