1. Trang chủ
  2. » Công Nghệ Thông Tin

a0010 algorithms data structures and problem solving with c morebook vn 2769

7 3 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Pointers, Arrays, and Structures
Chuyên ngành Algorithms, Data Structures and Problem Solving with C
Thể loại Textbook
Năm xuất bản 1996
Định dạng
Số trang 7
Dung lượng 22,54 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Chapter 1Pointers, Arrays, and Structures.

Trang 1

Chapter 1

Pointers, Arrays, and Structures

Trang 2

Pointer illustration

X = 5

Y = 7

1000

(&X) 1000

(&Y) 1004

(&Ptr) 1200

5

Trang 3

Result of *Ptr=10

X = 10

Y = 7

Ptr = &X = 1000

(&X) 1000

(&Y) 1004

(&Ptr) 1200

10

Trang 4

Uninitialized pointer

X = 5

Y = 7

Ptr = ?

(&X) 1000

(&Y) 1004

(&Ptr) 1200

5

Trang 5

(a) Initial state; (b) Ptr1=Ptr2 starting from initial state; (c) *Ptr1=*Ptr2 starting from initial state

Ptr1 X Ptr1 X Ptr1

Ptr2 Y Ptr2 Y Ptr2

5

7

5

7

Trang 6

Insertion of 40 in B-tree in Figure 18.72 causes a split into two leaves and then a split of the parent node

72 78 83

48 51 54 57

35 38

26 28 30 31 32

35 36 37

38 39 40

41 42 44 46

48 49 50

51 52 53

54 55 56

83 84 85

78 79 81

72 73 74 76

66 68 69 70

57 58 59

8 18

2

4

6

8

10

12

14

16

18

20

22

24

Trang 7

B-tree after deletion of 99 from Figure 18.73

72 78

48 51 54 57

35 38

26 28 30 31 32

35 36 37

38 39 40

41 42 44 46

48 49 50

51 52 53

54 55 56

78 79 81

72 73 74 76

66 68 69 70

57 58 59

8 18

2

4

6

8

10

12

14

16

18

20

22

24

Ngày đăng: 04/12/2022, 09:47

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w