Day 135 Learning Record: Data Structure and Algorithm Fundamentals: Strings, Arrays, and Generalized Tables (Array II) (Wang Zhuo Teaching Video)

Compressed storage of special matrices

insert image description here

Symmetric matrix

insert image description here
insert image description here
insert image description here
The address calculation of any A[i][j] (starting from A[0][0]):
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/weixin_45694614/article/details/132554234