Lecture Data Structures & Algorithms: Chapter 0
Số trang: 9
Loại file: pptx
Dung lượng: 1.21 MB
Lượt xem: 17
Lượt tải: 0
Xem trước 2 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Lecture Data Structures & Algorithms: Chapter 0 - Introduction presented what is Data Structures and other content. Invite you to read the lecture.
Nội dung trích xuất từ tài liệu:
Lecture Data Structures & Algorithms: Chapter 0 DONG NAI UNIVERSITY OF TECHNOLOGYData Structures & Algorithms DONG NAI UNIVERSITY OF TECHNOLOGYIntroduction 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. 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. 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 DONG NAI UNIVERSITY OF TECHNOLOGYBasic Data Structures • Structures include – Condensed lists – Linked lists – Stack, Queue – Binary trees – …and others DONG NAI UNIVERSITY OF TECHNOLOGYWhat is Algorithm?– A computable set of steps to achieve a desired result– Relationship to Data Structure • Example: Find an element, Sort listDONG NAI UNIVERSITY OF TECHNOLOGY DONG NAI UNIVERSITY OF TECHNOLOGYEND
Nội dung trích xuất từ tài liệu:
Lecture Data Structures & Algorithms: Chapter 0 DONG NAI UNIVERSITY OF TECHNOLOGYData Structures & Algorithms DONG NAI UNIVERSITY OF TECHNOLOGYIntroduction 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. 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. 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 DONG NAI UNIVERSITY OF TECHNOLOGYBasic Data Structures • Structures include – Condensed lists – Linked lists – Stack, Queue – Binary trees – …and others DONG NAI UNIVERSITY OF TECHNOLOGYWhat is Algorithm?– A computable set of steps to achieve a desired result– Relationship to Data Structure • Example: Find an element, Sort listDONG NAI UNIVERSITY OF TECHNOLOGY DONG NAI UNIVERSITY OF TECHNOLOGYEND
Tìm kiếm theo từ khóa liên quan:
Cấu trúc dữ liệu Bài giảng Cấu trúc dữ liệu và giải thuật Cơ sở dữ liệu Lecture Data Structures Data Algorithms Công nghệ thông tinTài liệu có liên quan:
-
52 trang 468 1 0
-
62 trang 422 3 0
-
Đề thi kết thúc học phần học kì 2 môn Cơ sở dữ liệu năm 2019-2020 có đáp án - Trường ĐH Đồng Tháp
5 trang 388 6 0 -
Top 10 mẹo 'đơn giản nhưng hữu ích' trong nhiếp ảnh
11 trang 367 0 0 -
Đề cương chi tiết học phần Cấu trúc dữ liệu và giải thuật (Data structures and algorithms)
10 trang 360 0 0 -
13 trang 342 0 0
-
96 trang 334 0 0
-
74 trang 329 0 0
-
Tài liệu dạy học môn Tin học trong chương trình đào tạo trình độ cao đẳng
348 trang 321 1 0 -
Đồ án tốt nghiệp: Xây dựng ứng dụng di động android quản lý khách hàng cắt tóc
81 trang 321 0 0