当前位置:网站首页>Basic concepts
Basic concepts
2022-07-18 02:39:00 【Steal the mask and run away】
The three elements of data structure
1、 Logical structure of data
(1) aggregate
(2) Linear structure① There is a one-to-one relationship between data elements
② Except for the first element , All elements have unique precursors
③ Except for the last element , All elements have a unique successor(3) A tree structure
There is a one to many relationship between data elements
(4) Figure structure ( Network structure )
There is a many to many relationship between elements
2、 Storage structure of data
(1) Sequential storage
Store logically adjacent elements in a physical location that is also adjacent to each other , The relationship between elements is represented by the adjacency of storage units
(2) Chain store
Logically adjacent elements are not adjacent maliciously in physical location , The logical relationship between elements is represented by the pointer of element storage address
(3) Index storage
While storing element information , Also create additional index tables , Each item in an index table is called an index entry , The general form of an index entry is :( keyword , Address )
(4) Hash store
According to the key words of the element, the storage address of the element can be calculated directly , Also known as hash (Hash) Storage
notes :
(1) If sequential storage is used , Each data element must be physically continuous ; If non sequential storage is used , Then each data element can be physically dispersed .
(2) The storage structure of data will affect the convenience of storage space allocation
(3) The storage structure of data will affect the speed of data operation
3、 The operation of data
边栏推荐
- Google 推荐在项目中使用 sealed 和 RemoteMediator
- [google] goodbye SharedPreferences embrace jetpack datastore
- Apple and former design director Jony lve parted ways
- H5 open wechat applet
- 解决安装oracle /usr/bin/ld: cannot find -lclntshcore的问题
- Fragment(三)ViewPager中使用Fragment
- PowerDesigner安装教程
- Open source real-time data warehouse Apache Doris graduated, how to go further in the future?
- 许式伟:Go+ 演进之路
- 一图看懂:国企数字化转型4个方向3个战略
猜你喜欢

The mystery of any type conversion

MySQL batch add test data

Easy gene encode histone chip SEQ and transcription factor chip SEQ data standard and processing flow

2022-04-18 Unity入门2——Unity工作原理

Redis使用管道PipeLine
![[benefit activity] stack a buff for your code! Click](/img/20/ab63e3373367ed3cecebd90d3bbb29.jpg)
[benefit activity] stack a buff for your code! Click "tea" to receive the gift

Kotlin Sealed 是什么?为什么 Google 都用

自定义分页加标签封装

CCF 202012-1 期末预测之安全指数

一图看懂:国企数字化转型4个方向3个战略
随机推荐
Kotlin 插件的落幕,ViewBinding 的崛起
2022-04-20 unity introduction 7 - collision detection of physical systems
QT connection MySQL
Isolation level of MySQL
手机怎样控制led显示屏发视频?
03 key control LED
The mystery of any type conversion
MySQL的隔离级别
相关小知识点
Difference between idea smart checkout and force checkout
Native JS route realizes page Jump
CDeC-Net代码实现
08 使用定时器控制LED闪烁
【招募】2022向光奖|年度ESG影响力投资奖正式启动!
Solve the problem of installing Oracle /usr/bin/ld: cannot find -lclntshcore
2022-04-20 Unity入门5——Camera
08 use timer to control LED flashing
吴恩达撰文:发展 AI 职业生涯的重要步骤——项目实践
活动预告|Apache Doris x Apache SeaTunnel 联合 Meetup 开启报名!
Yunna computer room dynamic environment monitoring expansion scheme


