@[TOC]数据结构学习【0】------框架
数据结构简单的来讲就是相互之间存在着某种关系的数据元素的集合
在讨论数据结构时,我们需要关注这三个方面,也是学习数据结构时的基本框架【划重点】
#mermaid-svg-Iw70vFVxJGJVXYb1 .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .label text{fill:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .node rect,#mermaid-svg-Iw70vFVxJGJVXYb1 .node circle,#mermaid-svg-Iw70vFVxJGJVXYb1 .node ellipse,#mermaid-svg-Iw70vFVxJGJVXYb1 .node polygon,#mermaid-svg-Iw70vFVxJGJVXYb1 .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-Iw70vFVxJGJVXYb1 .node .label{text-align:center;fill:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .node.clickable{cursor:pointer}#mermaid-svg-Iw70vFVxJGJVXYb1 .arrowheadPath{fill:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-Iw70vFVxJGJVXYb1 .flowchart-link{stroke:#333;fill:none}#mermaid-svg-Iw70vFVxJGJVXYb1 .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-Iw70vFVxJGJVXYb1 .edgeLabel rect{opacity:0.9}#mermaid-svg-Iw70vFVxJGJVXYb1 .edgeLabel span{color:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-Iw70vFVxJGJVXYb1 .cluster text{fill:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-Iw70vFVxJGJVXYb1 .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-Iw70vFVxJGJVXYb1 text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-Iw70vFVxJGJVXYb1 .actor-line{stroke:grey}#mermaid-svg-Iw70vFVxJGJVXYb1 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .sequenceNumber{fill:#fff}#mermaid-svg-Iw70vFVxJGJVXYb1 #sequencenumber{fill:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 #crosshead path{fill:#333;stroke:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .messageText{fill:#333;stroke:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-Iw70vFVxJGJVXYb1 .labelText,#mermaid-svg-Iw70vFVxJGJVXYb1 .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-Iw70vFVxJGJVXYb1 .loopText,#mermaid-svg-Iw70vFVxJGJVXYb1 .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-Iw70vFVxJGJVXYb1 .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-Iw70vFVxJGJVXYb1 .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-Iw70vFVxJGJVXYb1 .noteText,#mermaid-svg-Iw70vFVxJGJVXYb1 .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-Iw70vFVxJGJVXYb1 .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-Iw70vFVxJGJVXYb1 .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-Iw70vFVxJGJVXYb1 .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-Iw70vFVxJGJVXYb1 .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Iw70vFVxJGJVXYb1 .section{stroke:none;opacity:0.2}#mermaid-svg-Iw70vFVxJGJVXYb1 .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-Iw70vFVxJGJVXYb1 .section2{fill:#fff400}#mermaid-svg-Iw70vFVxJGJVXYb1 .section1,#mermaid-svg-Iw70vFVxJGJVXYb1 .section3{fill:#fff;opacity:0.2}#mermaid-svg-Iw70vFVxJGJVXYb1 .sectionTitle0{fill:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .sectionTitle1{fill:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .sectionTitle2{fill:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .sectionTitle3{fill:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Iw70vFVxJGJVXYb1 .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-Iw70vFVxJGJVXYb1 .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Iw70vFVxJGJVXYb1 .grid path{stroke-width:0}#mermaid-svg-Iw70vFVxJGJVXYb1 .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-Iw70vFVxJGJVXYb1 .task{stroke-width:2}#mermaid-svg-Iw70vFVxJGJVXYb1 .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Iw70vFVxJGJVXYb1 .taskText:not([font-size]){font-size:11px}#mermaid-svg-Iw70vFVxJGJVXYb1 .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Iw70vFVxJGJVXYb1 .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-Iw70vFVxJGJVXYb1 .task.clickable{cursor:pointer}#mermaid-svg-Iw70vFVxJGJVXYb1 .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-Iw70vFVxJGJVXYb1 .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-Iw70vFVxJGJVXYb1 .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-Iw70vFVxJGJVXYb1 .taskText0,#mermaid-svg-Iw70vFVxJGJVXYb1 .taskText1,#mermaid-svg-Iw70vFVxJGJVXYb1 .taskText2,#mermaid-svg-Iw70vFVxJGJVXYb1 .taskText3{fill:#fff}#mermaid-svg-Iw70vFVxJGJVXYb1 .task0,#mermaid-svg-Iw70vFVxJGJVXYb1 .task1,#mermaid-svg-Iw70vFVxJGJVXYb1 .task2,#mermaid-svg-Iw70vFVxJGJVXYb1 .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-Iw70vFVxJGJVXYb1 .taskTextOutside0,#mermaid-svg-Iw70vFVxJGJVXYb1 .taskTextOutside2{fill:#000}#mermaid-svg-Iw70vFVxJGJVXYb1 .taskTextOutside1,#mermaid-svg-Iw70vFVxJGJVXYb1 .taskTextOutside3{fill:#000}#mermaid-svg-Iw70vFVxJGJVXYb1 .active0,#mermaid-svg-Iw70vFVxJGJVXYb1 .active1,#mermaid-svg-Iw70vFVxJGJVXYb1 .active2,#mermaid-svg-Iw70vFVxJGJVXYb1 .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-Iw70vFVxJGJVXYb1 .activeText0,#mermaid-svg-Iw70vFVxJGJVXYb1 .activeText1,#mermaid-svg-Iw70vFVxJGJVXYb1 .activeText2,#mermaid-svg-Iw70vFVxJGJVXYb1 .activeText3{fill:#000 !important}#mermaid-svg-Iw70vFVxJGJVXYb1 .done0,#mermaid-svg-Iw70vFVxJGJVXYb1 .done1,#mermaid-svg-Iw70vFVxJGJVXYb1 .done2,#mermaid-svg-Iw70vFVxJGJVXYb1 .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-Iw70vFVxJGJVXYb1 .doneText0,#mermaid-svg-Iw70vFVxJGJVXYb1 .doneText1,#mermaid-svg-Iw70vFVxJGJVXYb1 .doneText2,#mermaid-svg-Iw70vFVxJGJVXYb1 .doneText3{fill:#000 !important}#mermaid-svg-Iw70vFVxJGJVXYb1 .crit0,#mermaid-svg-Iw70vFVxJGJVXYb1 .crit1,#mermaid-svg-Iw70vFVxJGJVXYb1 .crit2,#mermaid-svg-Iw70vFVxJGJVXYb1 .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-Iw70vFVxJGJVXYb1 .activeCrit0,#mermaid-svg-Iw70vFVxJGJVXYb1 .activeCrit1,#mermaid-svg-Iw70vFVxJGJVXYb1 .activeCrit2,#mermaid-svg-Iw70vFVxJGJVXYb1 .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-Iw70vFVxJGJVXYb1 .doneCrit0,#mermaid-svg-Iw70vFVxJGJVXYb1 .doneCrit1,#mermaid-svg-Iw70vFVxJGJVXYb1 .doneCrit2,#mermaid-svg-Iw70vFVxJGJVXYb1 .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-Iw70vFVxJGJVXYb1 .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-Iw70vFVxJGJVXYb1 .milestoneText{font-style:italic}#mermaid-svg-Iw70vFVxJGJVXYb1 .doneCritText0,#mermaid-svg-Iw70vFVxJGJVXYb1 .doneCritText1,#mermaid-svg-Iw70vFVxJGJVXYb1 .doneCritText2,#mermaid-svg-Iw70vFVxJGJVXYb1 .doneCritText3{fill:#000 !important}#mermaid-svg-Iw70vFVxJGJVXYb1 .activeCritText0,#mermaid-svg-Iw70vFVxJGJVXYb1 .activeCritText1,#mermaid-svg-Iw70vFVxJGJVXYb1 .activeCritText2,#mermaid-svg-Iw70vFVxJGJVXYb1 .activeCritText3{fill:#000 !important}#mermaid-svg-Iw70vFVxJGJVXYb1 .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Iw70vFVxJGJVXYb1 g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-Iw70vFVxJGJVXYb1 g.classGroup text .title{font-weight:bolder}#mermaid-svg-Iw70vFVxJGJVXYb1 g.clickable{cursor:pointer}#mermaid-svg-Iw70vFVxJGJVXYb1 g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-Iw70vFVxJGJVXYb1 g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-Iw70vFVxJGJVXYb1 .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-Iw70vFVxJGJVXYb1 .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-Iw70vFVxJGJVXYb1 .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-Iw70vFVxJGJVXYb1 .dashed-line{stroke-dasharray:3}#mermaid-svg-Iw70vFVxJGJVXYb1 #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Iw70vFVxJGJVXYb1 #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Iw70vFVxJGJVXYb1 #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-Iw70vFVxJGJVXYb1 #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-Iw70vFVxJGJVXYb1 #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Iw70vFVxJGJVXYb1 #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Iw70vFVxJGJVXYb1 #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Iw70vFVxJGJVXYb1 #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-Iw70vFVxJGJVXYb1 .commit-id,#mermaid-svg-Iw70vFVxJGJVXYb1 .commit-msg,#mermaid-svg-Iw70vFVxJGJVXYb1 .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Iw70vFVxJGJVXYb1 .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Iw70vFVxJGJVXYb1 .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Iw70vFVxJGJVXYb1 g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Iw70vFVxJGJVXYb1 g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-Iw70vFVxJGJVXYb1 g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-Iw70vFVxJGJVXYb1 g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-Iw70vFVxJGJVXYb1 g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-Iw70vFVxJGJVXYb1 .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-Iw70vFVxJGJVXYb1 .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-Iw70vFVxJGJVXYb1 .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-Iw70vFVxJGJVXYb1 .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-Iw70vFVxJGJVXYb1 .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-Iw70vFVxJGJVXYb1 .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-Iw70vFVxJGJVXYb1 .edgeLabel text{fill:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-Iw70vFVxJGJVXYb1 .node circle.state-start{fill:black;stroke:black}#mermaid-svg-Iw70vFVxJGJVXYb1 .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-Iw70vFVxJGJVXYb1 #statediagram-barbEnd{fill:#9370db}#mermaid-svg-Iw70vFVxJGJVXYb1 .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-Iw70vFVxJGJVXYb1 .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-Iw70vFVxJGJVXYb1 .statediagram-state .divider{stroke:#9370db}#mermaid-svg-Iw70vFVxJGJVXYb1 .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-Iw70vFVxJGJVXYb1 .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-Iw70vFVxJGJVXYb1 .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-Iw70vFVxJGJVXYb1 .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-Iw70vFVxJGJVXYb1 .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-Iw70vFVxJGJVXYb1 .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-Iw70vFVxJGJVXYb1 .note-edge{stroke-dasharray:5}#mermaid-svg-Iw70vFVxJGJVXYb1 .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '"trebuchet ms", verdana, arial';--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive}#mermaid-svg-Iw70vFVxJGJVXYb1 .error-icon{fill:#522}#mermaid-svg-Iw70vFVxJGJVXYb1 .error-text{fill:#522;stroke:#522}#mermaid-svg-Iw70vFVxJGJVXYb1 .edge-thickness-normal{stroke-width:2px}#mermaid-svg-Iw70vFVxJGJVXYb1 .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-Iw70vFVxJGJVXYb1 .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-Iw70vFVxJGJVXYb1 .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-Iw70vFVxJGJVXYb1 .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-Iw70vFVxJGJVXYb1 .marker{fill:#333}#mermaid-svg-Iw70vFVxJGJVXYb1 .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-Iw70vFVxJGJVXYb1 { color: rgba(0, 0, 0, 0.75); font: ; } 数据结构 逻辑结构 数据的运算 物理结构--<存储结构>讨论数据元素之间的逻辑关系是什么样子滴。。。
#mermaid-svg-BTpnbOCVegXq0tJ8 .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .label text{fill:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .node rect,#mermaid-svg-BTpnbOCVegXq0tJ8 .node circle,#mermaid-svg-BTpnbOCVegXq0tJ8 .node ellipse,#mermaid-svg-BTpnbOCVegXq0tJ8 .node polygon,#mermaid-svg-BTpnbOCVegXq0tJ8 .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-BTpnbOCVegXq0tJ8 .node .label{text-align:center;fill:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .node.clickable{cursor:pointer}#mermaid-svg-BTpnbOCVegXq0tJ8 .arrowheadPath{fill:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-BTpnbOCVegXq0tJ8 .flowchart-link{stroke:#333;fill:none}#mermaid-svg-BTpnbOCVegXq0tJ8 .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-BTpnbOCVegXq0tJ8 .edgeLabel rect{opacity:0.9}#mermaid-svg-BTpnbOCVegXq0tJ8 .edgeLabel span{color:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-BTpnbOCVegXq0tJ8 .cluster text{fill:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-BTpnbOCVegXq0tJ8 .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-BTpnbOCVegXq0tJ8 text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-BTpnbOCVegXq0tJ8 .actor-line{stroke:grey}#mermaid-svg-BTpnbOCVegXq0tJ8 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .sequenceNumber{fill:#fff}#mermaid-svg-BTpnbOCVegXq0tJ8 #sequencenumber{fill:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 #crosshead path{fill:#333;stroke:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .messageText{fill:#333;stroke:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-BTpnbOCVegXq0tJ8 .labelText,#mermaid-svg-BTpnbOCVegXq0tJ8 .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-BTpnbOCVegXq0tJ8 .loopText,#mermaid-svg-BTpnbOCVegXq0tJ8 .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-BTpnbOCVegXq0tJ8 .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-BTpnbOCVegXq0tJ8 .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-BTpnbOCVegXq0tJ8 .noteText,#mermaid-svg-BTpnbOCVegXq0tJ8 .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-BTpnbOCVegXq0tJ8 .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-BTpnbOCVegXq0tJ8 .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-BTpnbOCVegXq0tJ8 .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-BTpnbOCVegXq0tJ8 .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-BTpnbOCVegXq0tJ8 .section{stroke:none;opacity:0.2}#mermaid-svg-BTpnbOCVegXq0tJ8 .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-BTpnbOCVegXq0tJ8 .section2{fill:#fff400}#mermaid-svg-BTpnbOCVegXq0tJ8 .section1,#mermaid-svg-BTpnbOCVegXq0tJ8 .section3{fill:#fff;opacity:0.2}#mermaid-svg-BTpnbOCVegXq0tJ8 .sectionTitle0{fill:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .sectionTitle1{fill:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .sectionTitle2{fill:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .sectionTitle3{fill:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-BTpnbOCVegXq0tJ8 .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-BTpnbOCVegXq0tJ8 .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-BTpnbOCVegXq0tJ8 .grid path{stroke-width:0}#mermaid-svg-BTpnbOCVegXq0tJ8 .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-BTpnbOCVegXq0tJ8 .task{stroke-width:2}#mermaid-svg-BTpnbOCVegXq0tJ8 .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-BTpnbOCVegXq0tJ8 .taskText:not([font-size]){font-size:11px}#mermaid-svg-BTpnbOCVegXq0tJ8 .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-BTpnbOCVegXq0tJ8 .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-BTpnbOCVegXq0tJ8 .task.clickable{cursor:pointer}#mermaid-svg-BTpnbOCVegXq0tJ8 .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-BTpnbOCVegXq0tJ8 .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-BTpnbOCVegXq0tJ8 .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-BTpnbOCVegXq0tJ8 .taskText0,#mermaid-svg-BTpnbOCVegXq0tJ8 .taskText1,#mermaid-svg-BTpnbOCVegXq0tJ8 .taskText2,#mermaid-svg-BTpnbOCVegXq0tJ8 .taskText3{fill:#fff}#mermaid-svg-BTpnbOCVegXq0tJ8 .task0,#mermaid-svg-BTpnbOCVegXq0tJ8 .task1,#mermaid-svg-BTpnbOCVegXq0tJ8 .task2,#mermaid-svg-BTpnbOCVegXq0tJ8 .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-BTpnbOCVegXq0tJ8 .taskTextOutside0,#mermaid-svg-BTpnbOCVegXq0tJ8 .taskTextOutside2{fill:#000}#mermaid-svg-BTpnbOCVegXq0tJ8 .taskTextOutside1,#mermaid-svg-BTpnbOCVegXq0tJ8 .taskTextOutside3{fill:#000}#mermaid-svg-BTpnbOCVegXq0tJ8 .active0,#mermaid-svg-BTpnbOCVegXq0tJ8 .active1,#mermaid-svg-BTpnbOCVegXq0tJ8 .active2,#mermaid-svg-BTpnbOCVegXq0tJ8 .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-BTpnbOCVegXq0tJ8 .activeText0,#mermaid-svg-BTpnbOCVegXq0tJ8 .activeText1,#mermaid-svg-BTpnbOCVegXq0tJ8 .activeText2,#mermaid-svg-BTpnbOCVegXq0tJ8 .activeText3{fill:#000 !important}#mermaid-svg-BTpnbOCVegXq0tJ8 .done0,#mermaid-svg-BTpnbOCVegXq0tJ8 .done1,#mermaid-svg-BTpnbOCVegXq0tJ8 .done2,#mermaid-svg-BTpnbOCVegXq0tJ8 .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-BTpnbOCVegXq0tJ8 .doneText0,#mermaid-svg-BTpnbOCVegXq0tJ8 .doneText1,#mermaid-svg-BTpnbOCVegXq0tJ8 .doneText2,#mermaid-svg-BTpnbOCVegXq0tJ8 .doneText3{fill:#000 !important}#mermaid-svg-BTpnbOCVegXq0tJ8 .crit0,#mermaid-svg-BTpnbOCVegXq0tJ8 .crit1,#mermaid-svg-BTpnbOCVegXq0tJ8 .crit2,#mermaid-svg-BTpnbOCVegXq0tJ8 .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-BTpnbOCVegXq0tJ8 .activeCrit0,#mermaid-svg-BTpnbOCVegXq0tJ8 .activeCrit1,#mermaid-svg-BTpnbOCVegXq0tJ8 .activeCrit2,#mermaid-svg-BTpnbOCVegXq0tJ8 .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-BTpnbOCVegXq0tJ8 .doneCrit0,#mermaid-svg-BTpnbOCVegXq0tJ8 .doneCrit1,#mermaid-svg-BTpnbOCVegXq0tJ8 .doneCrit2,#mermaid-svg-BTpnbOCVegXq0tJ8 .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-BTpnbOCVegXq0tJ8 .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-BTpnbOCVegXq0tJ8 .milestoneText{font-style:italic}#mermaid-svg-BTpnbOCVegXq0tJ8 .doneCritText0,#mermaid-svg-BTpnbOCVegXq0tJ8 .doneCritText1,#mermaid-svg-BTpnbOCVegXq0tJ8 .doneCritText2,#mermaid-svg-BTpnbOCVegXq0tJ8 .doneCritText3{fill:#000 !important}#mermaid-svg-BTpnbOCVegXq0tJ8 .activeCritText0,#mermaid-svg-BTpnbOCVegXq0tJ8 .activeCritText1,#mermaid-svg-BTpnbOCVegXq0tJ8 .activeCritText2,#mermaid-svg-BTpnbOCVegXq0tJ8 .activeCritText3{fill:#000 !important}#mermaid-svg-BTpnbOCVegXq0tJ8 .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-BTpnbOCVegXq0tJ8 g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-BTpnbOCVegXq0tJ8 g.classGroup text .title{font-weight:bolder}#mermaid-svg-BTpnbOCVegXq0tJ8 g.clickable{cursor:pointer}#mermaid-svg-BTpnbOCVegXq0tJ8 g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-BTpnbOCVegXq0tJ8 g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-BTpnbOCVegXq0tJ8 .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-BTpnbOCVegXq0tJ8 .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-BTpnbOCVegXq0tJ8 .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-BTpnbOCVegXq0tJ8 .dashed-line{stroke-dasharray:3}#mermaid-svg-BTpnbOCVegXq0tJ8 #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-BTpnbOCVegXq0tJ8 #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-BTpnbOCVegXq0tJ8 #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-BTpnbOCVegXq0tJ8 #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-BTpnbOCVegXq0tJ8 #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-BTpnbOCVegXq0tJ8 #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-BTpnbOCVegXq0tJ8 #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-BTpnbOCVegXq0tJ8 #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-BTpnbOCVegXq0tJ8 .commit-id,#mermaid-svg-BTpnbOCVegXq0tJ8 .commit-msg,#mermaid-svg-BTpnbOCVegXq0tJ8 .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-BTpnbOCVegXq0tJ8 .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-BTpnbOCVegXq0tJ8 .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-BTpnbOCVegXq0tJ8 g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-BTpnbOCVegXq0tJ8 g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-BTpnbOCVegXq0tJ8 g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-BTpnbOCVegXq0tJ8 g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-BTpnbOCVegXq0tJ8 g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-BTpnbOCVegXq0tJ8 .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-BTpnbOCVegXq0tJ8 .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-BTpnbOCVegXq0tJ8 .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-BTpnbOCVegXq0tJ8 .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-BTpnbOCVegXq0tJ8 .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-BTpnbOCVegXq0tJ8 .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-BTpnbOCVegXq0tJ8 .edgeLabel text{fill:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-BTpnbOCVegXq0tJ8 .node circle.state-start{fill:black;stroke:black}#mermaid-svg-BTpnbOCVegXq0tJ8 .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-BTpnbOCVegXq0tJ8 #statediagram-barbEnd{fill:#9370db}#mermaid-svg-BTpnbOCVegXq0tJ8 .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-BTpnbOCVegXq0tJ8 .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-BTpnbOCVegXq0tJ8 .statediagram-state .divider{stroke:#9370db}#mermaid-svg-BTpnbOCVegXq0tJ8 .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-BTpnbOCVegXq0tJ8 .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-BTpnbOCVegXq0tJ8 .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-BTpnbOCVegXq0tJ8 .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-BTpnbOCVegXq0tJ8 .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-BTpnbOCVegXq0tJ8 .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-BTpnbOCVegXq0tJ8 .note-edge{stroke-dasharray:5}#mermaid-svg-BTpnbOCVegXq0tJ8 .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '"trebuchet ms", verdana, arial';--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive}#mermaid-svg-BTpnbOCVegXq0tJ8 .error-icon{fill:#522}#mermaid-svg-BTpnbOCVegXq0tJ8 .error-text{fill:#522;stroke:#522}#mermaid-svg-BTpnbOCVegXq0tJ8 .edge-thickness-normal{stroke-width:2px}#mermaid-svg-BTpnbOCVegXq0tJ8 .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-BTpnbOCVegXq0tJ8 .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-BTpnbOCVegXq0tJ8 .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-BTpnbOCVegXq0tJ8 .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-BTpnbOCVegXq0tJ8 .marker{fill:#333}#mermaid-svg-BTpnbOCVegXq0tJ8 .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-BTpnbOCVegXq0tJ8 { color: rgba(0, 0, 0, 0.75); font: ; } 逻辑结构 集合 <用的比较少> 线性结构 树形结构 图状结构线性结构
描述各个数据元素之间是一对一的关系树形结构
描述各个数据元素之间是一对多的关系图状结构
描述数据元素之间是多对多的关系顾名思义,是施加在数据上的运算
#mermaid-svg-mbFBF3K1tS5jdXTS .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .label text{fill:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .node rect,#mermaid-svg-mbFBF3K1tS5jdXTS .node circle,#mermaid-svg-mbFBF3K1tS5jdXTS .node ellipse,#mermaid-svg-mbFBF3K1tS5jdXTS .node polygon,#mermaid-svg-mbFBF3K1tS5jdXTS .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-mbFBF3K1tS5jdXTS .node .label{text-align:center;fill:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .node.clickable{cursor:pointer}#mermaid-svg-mbFBF3K1tS5jdXTS .arrowheadPath{fill:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-mbFBF3K1tS5jdXTS .flowchart-link{stroke:#333;fill:none}#mermaid-svg-mbFBF3K1tS5jdXTS .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-mbFBF3K1tS5jdXTS .edgeLabel rect{opacity:0.9}#mermaid-svg-mbFBF3K1tS5jdXTS .edgeLabel span{color:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-mbFBF3K1tS5jdXTS .cluster text{fill:#333}#mermaid-svg-mbFBF3K1tS5jdXTS div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-mbFBF3K1tS5jdXTS .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-mbFBF3K1tS5jdXTS text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-mbFBF3K1tS5jdXTS .actor-line{stroke:grey}#mermaid-svg-mbFBF3K1tS5jdXTS .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-mbFBF3K1tS5jdXTS #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .sequenceNumber{fill:#fff}#mermaid-svg-mbFBF3K1tS5jdXTS #sequencenumber{fill:#333}#mermaid-svg-mbFBF3K1tS5jdXTS #crosshead path{fill:#333;stroke:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .messageText{fill:#333;stroke:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-mbFBF3K1tS5jdXTS .labelText,#mermaid-svg-mbFBF3K1tS5jdXTS .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-mbFBF3K1tS5jdXTS .loopText,#mermaid-svg-mbFBF3K1tS5jdXTS .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-mbFBF3K1tS5jdXTS .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-mbFBF3K1tS5jdXTS .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-mbFBF3K1tS5jdXTS .noteText,#mermaid-svg-mbFBF3K1tS5jdXTS .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-mbFBF3K1tS5jdXTS .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-mbFBF3K1tS5jdXTS .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-mbFBF3K1tS5jdXTS .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-mbFBF3K1tS5jdXTS .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-mbFBF3K1tS5jdXTS .section{stroke:none;opacity:0.2}#mermaid-svg-mbFBF3K1tS5jdXTS .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-mbFBF3K1tS5jdXTS .section2{fill:#fff400}#mermaid-svg-mbFBF3K1tS5jdXTS .section1,#mermaid-svg-mbFBF3K1tS5jdXTS .section3{fill:#fff;opacity:0.2}#mermaid-svg-mbFBF3K1tS5jdXTS .sectionTitle0{fill:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .sectionTitle1{fill:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .sectionTitle2{fill:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .sectionTitle3{fill:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-mbFBF3K1tS5jdXTS .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-mbFBF3K1tS5jdXTS .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-mbFBF3K1tS5jdXTS .grid path{stroke-width:0}#mermaid-svg-mbFBF3K1tS5jdXTS .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-mbFBF3K1tS5jdXTS .task{stroke-width:2}#mermaid-svg-mbFBF3K1tS5jdXTS .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-mbFBF3K1tS5jdXTS .taskText:not([font-size]){font-size:11px}#mermaid-svg-mbFBF3K1tS5jdXTS .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-mbFBF3K1tS5jdXTS .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-mbFBF3K1tS5jdXTS .task.clickable{cursor:pointer}#mermaid-svg-mbFBF3K1tS5jdXTS .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-mbFBF3K1tS5jdXTS .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-mbFBF3K1tS5jdXTS .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-mbFBF3K1tS5jdXTS .taskText0,#mermaid-svg-mbFBF3K1tS5jdXTS .taskText1,#mermaid-svg-mbFBF3K1tS5jdXTS .taskText2,#mermaid-svg-mbFBF3K1tS5jdXTS .taskText3{fill:#fff}#mermaid-svg-mbFBF3K1tS5jdXTS .task0,#mermaid-svg-mbFBF3K1tS5jdXTS .task1,#mermaid-svg-mbFBF3K1tS5jdXTS .task2,#mermaid-svg-mbFBF3K1tS5jdXTS .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-mbFBF3K1tS5jdXTS .taskTextOutside0,#mermaid-svg-mbFBF3K1tS5jdXTS .taskTextOutside2{fill:#000}#mermaid-svg-mbFBF3K1tS5jdXTS .taskTextOutside1,#mermaid-svg-mbFBF3K1tS5jdXTS .taskTextOutside3{fill:#000}#mermaid-svg-mbFBF3K1tS5jdXTS .active0,#mermaid-svg-mbFBF3K1tS5jdXTS .active1,#mermaid-svg-mbFBF3K1tS5jdXTS .active2,#mermaid-svg-mbFBF3K1tS5jdXTS .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-mbFBF3K1tS5jdXTS .activeText0,#mermaid-svg-mbFBF3K1tS5jdXTS .activeText1,#mermaid-svg-mbFBF3K1tS5jdXTS .activeText2,#mermaid-svg-mbFBF3K1tS5jdXTS .activeText3{fill:#000 !important}#mermaid-svg-mbFBF3K1tS5jdXTS .done0,#mermaid-svg-mbFBF3K1tS5jdXTS .done1,#mermaid-svg-mbFBF3K1tS5jdXTS .done2,#mermaid-svg-mbFBF3K1tS5jdXTS .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-mbFBF3K1tS5jdXTS .doneText0,#mermaid-svg-mbFBF3K1tS5jdXTS .doneText1,#mermaid-svg-mbFBF3K1tS5jdXTS .doneText2,#mermaid-svg-mbFBF3K1tS5jdXTS .doneText3{fill:#000 !important}#mermaid-svg-mbFBF3K1tS5jdXTS .crit0,#mermaid-svg-mbFBF3K1tS5jdXTS .crit1,#mermaid-svg-mbFBF3K1tS5jdXTS .crit2,#mermaid-svg-mbFBF3K1tS5jdXTS .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-mbFBF3K1tS5jdXTS .activeCrit0,#mermaid-svg-mbFBF3K1tS5jdXTS .activeCrit1,#mermaid-svg-mbFBF3K1tS5jdXTS .activeCrit2,#mermaid-svg-mbFBF3K1tS5jdXTS .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-mbFBF3K1tS5jdXTS .doneCrit0,#mermaid-svg-mbFBF3K1tS5jdXTS .doneCrit1,#mermaid-svg-mbFBF3K1tS5jdXTS .doneCrit2,#mermaid-svg-mbFBF3K1tS5jdXTS .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-mbFBF3K1tS5jdXTS .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-mbFBF3K1tS5jdXTS .milestoneText{font-style:italic}#mermaid-svg-mbFBF3K1tS5jdXTS .doneCritText0,#mermaid-svg-mbFBF3K1tS5jdXTS .doneCritText1,#mermaid-svg-mbFBF3K1tS5jdXTS .doneCritText2,#mermaid-svg-mbFBF3K1tS5jdXTS .doneCritText3{fill:#000 !important}#mermaid-svg-mbFBF3K1tS5jdXTS .activeCritText0,#mermaid-svg-mbFBF3K1tS5jdXTS .activeCritText1,#mermaid-svg-mbFBF3K1tS5jdXTS .activeCritText2,#mermaid-svg-mbFBF3K1tS5jdXTS .activeCritText3{fill:#000 !important}#mermaid-svg-mbFBF3K1tS5jdXTS .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-mbFBF3K1tS5jdXTS g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-mbFBF3K1tS5jdXTS g.classGroup text .title{font-weight:bolder}#mermaid-svg-mbFBF3K1tS5jdXTS g.clickable{cursor:pointer}#mermaid-svg-mbFBF3K1tS5jdXTS g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-mbFBF3K1tS5jdXTS g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-mbFBF3K1tS5jdXTS .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-mbFBF3K1tS5jdXTS .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-mbFBF3K1tS5jdXTS .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-mbFBF3K1tS5jdXTS .dashed-line{stroke-dasharray:3}#mermaid-svg-mbFBF3K1tS5jdXTS #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-mbFBF3K1tS5jdXTS #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-mbFBF3K1tS5jdXTS #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-mbFBF3K1tS5jdXTS #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-mbFBF3K1tS5jdXTS #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-mbFBF3K1tS5jdXTS #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-mbFBF3K1tS5jdXTS #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-mbFBF3K1tS5jdXTS #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-mbFBF3K1tS5jdXTS .commit-id,#mermaid-svg-mbFBF3K1tS5jdXTS .commit-msg,#mermaid-svg-mbFBF3K1tS5jdXTS .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-mbFBF3K1tS5jdXTS .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-mbFBF3K1tS5jdXTS .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-mbFBF3K1tS5jdXTS g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-mbFBF3K1tS5jdXTS g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-mbFBF3K1tS5jdXTS g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-mbFBF3K1tS5jdXTS g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-mbFBF3K1tS5jdXTS g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-mbFBF3K1tS5jdXTS g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-mbFBF3K1tS5jdXTS .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-mbFBF3K1tS5jdXTS .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-mbFBF3K1tS5jdXTS .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-mbFBF3K1tS5jdXTS .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-mbFBF3K1tS5jdXTS .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-mbFBF3K1tS5jdXTS .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-mbFBF3K1tS5jdXTS .edgeLabel text{fill:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-mbFBF3K1tS5jdXTS .node circle.state-start{fill:black;stroke:black}#mermaid-svg-mbFBF3K1tS5jdXTS .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-mbFBF3K1tS5jdXTS #statediagram-barbEnd{fill:#9370db}#mermaid-svg-mbFBF3K1tS5jdXTS .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-mbFBF3K1tS5jdXTS .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-mbFBF3K1tS5jdXTS .statediagram-state .divider{stroke:#9370db}#mermaid-svg-mbFBF3K1tS5jdXTS .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-mbFBF3K1tS5jdXTS .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-mbFBF3K1tS5jdXTS .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-mbFBF3K1tS5jdXTS .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-mbFBF3K1tS5jdXTS .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-mbFBF3K1tS5jdXTS .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-mbFBF3K1tS5jdXTS .note-edge{stroke-dasharray:5}#mermaid-svg-mbFBF3K1tS5jdXTS .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '"trebuchet ms", verdana, arial';--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive}#mermaid-svg-mbFBF3K1tS5jdXTS .error-icon{fill:#522}#mermaid-svg-mbFBF3K1tS5jdXTS .error-text{fill:#522;stroke:#522}#mermaid-svg-mbFBF3K1tS5jdXTS .edge-thickness-normal{stroke-width:2px}#mermaid-svg-mbFBF3K1tS5jdXTS .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-mbFBF3K1tS5jdXTS .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-mbFBF3K1tS5jdXTS .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-mbFBF3K1tS5jdXTS .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-mbFBF3K1tS5jdXTS .marker{fill:#333}#mermaid-svg-mbFBF3K1tS5jdXTS .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-mbFBF3K1tS5jdXTS { color: rgba(0, 0, 0, 0.75); font: ; } 数据的运算 运算的定义:针对逻辑结构的,用来指出运算的功能 运算的实现:针对存储结构的,指出运算的具体操作步骤什么叫运算的功能呢?
比如说:增加数据元素,删除数据元素,查找数据元素,修改数据元素,取出数据元素,…什么叫运算的具体操作呢?
指在我现在这个存储结构下,我是如何对它操作,来实现上面所述的功能滴;也叫做存储结构,指针对某种逻辑结构在存储空间中的存放方式
#mermaid-svg-CYXm9YXWnxJmtNm6 .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .label text{fill:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .node rect,#mermaid-svg-CYXm9YXWnxJmtNm6 .node circle,#mermaid-svg-CYXm9YXWnxJmtNm6 .node ellipse,#mermaid-svg-CYXm9YXWnxJmtNm6 .node polygon,#mermaid-svg-CYXm9YXWnxJmtNm6 .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-CYXm9YXWnxJmtNm6 .node .label{text-align:center;fill:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .node.clickable{cursor:pointer}#mermaid-svg-CYXm9YXWnxJmtNm6 .arrowheadPath{fill:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-CYXm9YXWnxJmtNm6 .flowchart-link{stroke:#333;fill:none}#mermaid-svg-CYXm9YXWnxJmtNm6 .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-CYXm9YXWnxJmtNm6 .edgeLabel rect{opacity:0.9}#mermaid-svg-CYXm9YXWnxJmtNm6 .edgeLabel span{color:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-CYXm9YXWnxJmtNm6 .cluster text{fill:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-CYXm9YXWnxJmtNm6 .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-CYXm9YXWnxJmtNm6 text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-CYXm9YXWnxJmtNm6 .actor-line{stroke:grey}#mermaid-svg-CYXm9YXWnxJmtNm6 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .sequenceNumber{fill:#fff}#mermaid-svg-CYXm9YXWnxJmtNm6 #sequencenumber{fill:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 #crosshead path{fill:#333;stroke:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .messageText{fill:#333;stroke:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-CYXm9YXWnxJmtNm6 .labelText,#mermaid-svg-CYXm9YXWnxJmtNm6 .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-CYXm9YXWnxJmtNm6 .loopText,#mermaid-svg-CYXm9YXWnxJmtNm6 .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-CYXm9YXWnxJmtNm6 .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-CYXm9YXWnxJmtNm6 .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-CYXm9YXWnxJmtNm6 .noteText,#mermaid-svg-CYXm9YXWnxJmtNm6 .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-CYXm9YXWnxJmtNm6 .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-CYXm9YXWnxJmtNm6 .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-CYXm9YXWnxJmtNm6 .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-CYXm9YXWnxJmtNm6 .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CYXm9YXWnxJmtNm6 .section{stroke:none;opacity:0.2}#mermaid-svg-CYXm9YXWnxJmtNm6 .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-CYXm9YXWnxJmtNm6 .section2{fill:#fff400}#mermaid-svg-CYXm9YXWnxJmtNm6 .section1,#mermaid-svg-CYXm9YXWnxJmtNm6 .section3{fill:#fff;opacity:0.2}#mermaid-svg-CYXm9YXWnxJmtNm6 .sectionTitle0{fill:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .sectionTitle1{fill:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .sectionTitle2{fill:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .sectionTitle3{fill:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CYXm9YXWnxJmtNm6 .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-CYXm9YXWnxJmtNm6 .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CYXm9YXWnxJmtNm6 .grid path{stroke-width:0}#mermaid-svg-CYXm9YXWnxJmtNm6 .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-CYXm9YXWnxJmtNm6 .task{stroke-width:2}#mermaid-svg-CYXm9YXWnxJmtNm6 .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CYXm9YXWnxJmtNm6 .taskText:not([font-size]){font-size:11px}#mermaid-svg-CYXm9YXWnxJmtNm6 .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CYXm9YXWnxJmtNm6 .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-CYXm9YXWnxJmtNm6 .task.clickable{cursor:pointer}#mermaid-svg-CYXm9YXWnxJmtNm6 .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-CYXm9YXWnxJmtNm6 .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-CYXm9YXWnxJmtNm6 .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-CYXm9YXWnxJmtNm6 .taskText0,#mermaid-svg-CYXm9YXWnxJmtNm6 .taskText1,#mermaid-svg-CYXm9YXWnxJmtNm6 .taskText2,#mermaid-svg-CYXm9YXWnxJmtNm6 .taskText3{fill:#fff}#mermaid-svg-CYXm9YXWnxJmtNm6 .task0,#mermaid-svg-CYXm9YXWnxJmtNm6 .task1,#mermaid-svg-CYXm9YXWnxJmtNm6 .task2,#mermaid-svg-CYXm9YXWnxJmtNm6 .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-CYXm9YXWnxJmtNm6 .taskTextOutside0,#mermaid-svg-CYXm9YXWnxJmtNm6 .taskTextOutside2{fill:#000}#mermaid-svg-CYXm9YXWnxJmtNm6 .taskTextOutside1,#mermaid-svg-CYXm9YXWnxJmtNm6 .taskTextOutside3{fill:#000}#mermaid-svg-CYXm9YXWnxJmtNm6 .active0,#mermaid-svg-CYXm9YXWnxJmtNm6 .active1,#mermaid-svg-CYXm9YXWnxJmtNm6 .active2,#mermaid-svg-CYXm9YXWnxJmtNm6 .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-CYXm9YXWnxJmtNm6 .activeText0,#mermaid-svg-CYXm9YXWnxJmtNm6 .activeText1,#mermaid-svg-CYXm9YXWnxJmtNm6 .activeText2,#mermaid-svg-CYXm9YXWnxJmtNm6 .activeText3{fill:#000 !important}#mermaid-svg-CYXm9YXWnxJmtNm6 .done0,#mermaid-svg-CYXm9YXWnxJmtNm6 .done1,#mermaid-svg-CYXm9YXWnxJmtNm6 .done2,#mermaid-svg-CYXm9YXWnxJmtNm6 .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-CYXm9YXWnxJmtNm6 .doneText0,#mermaid-svg-CYXm9YXWnxJmtNm6 .doneText1,#mermaid-svg-CYXm9YXWnxJmtNm6 .doneText2,#mermaid-svg-CYXm9YXWnxJmtNm6 .doneText3{fill:#000 !important}#mermaid-svg-CYXm9YXWnxJmtNm6 .crit0,#mermaid-svg-CYXm9YXWnxJmtNm6 .crit1,#mermaid-svg-CYXm9YXWnxJmtNm6 .crit2,#mermaid-svg-CYXm9YXWnxJmtNm6 .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-CYXm9YXWnxJmtNm6 .activeCrit0,#mermaid-svg-CYXm9YXWnxJmtNm6 .activeCrit1,#mermaid-svg-CYXm9YXWnxJmtNm6 .activeCrit2,#mermaid-svg-CYXm9YXWnxJmtNm6 .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-CYXm9YXWnxJmtNm6 .doneCrit0,#mermaid-svg-CYXm9YXWnxJmtNm6 .doneCrit1,#mermaid-svg-CYXm9YXWnxJmtNm6 .doneCrit2,#mermaid-svg-CYXm9YXWnxJmtNm6 .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-CYXm9YXWnxJmtNm6 .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-CYXm9YXWnxJmtNm6 .milestoneText{font-style:italic}#mermaid-svg-CYXm9YXWnxJmtNm6 .doneCritText0,#mermaid-svg-CYXm9YXWnxJmtNm6 .doneCritText1,#mermaid-svg-CYXm9YXWnxJmtNm6 .doneCritText2,#mermaid-svg-CYXm9YXWnxJmtNm6 .doneCritText3{fill:#000 !important}#mermaid-svg-CYXm9YXWnxJmtNm6 .activeCritText0,#mermaid-svg-CYXm9YXWnxJmtNm6 .activeCritText1,#mermaid-svg-CYXm9YXWnxJmtNm6 .activeCritText2,#mermaid-svg-CYXm9YXWnxJmtNm6 .activeCritText3{fill:#000 !important}#mermaid-svg-CYXm9YXWnxJmtNm6 .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CYXm9YXWnxJmtNm6 g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-CYXm9YXWnxJmtNm6 g.classGroup text .title{font-weight:bolder}#mermaid-svg-CYXm9YXWnxJmtNm6 g.clickable{cursor:pointer}#mermaid-svg-CYXm9YXWnxJmtNm6 g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-CYXm9YXWnxJmtNm6 g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-CYXm9YXWnxJmtNm6 .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-CYXm9YXWnxJmtNm6 .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-CYXm9YXWnxJmtNm6 .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-CYXm9YXWnxJmtNm6 .dashed-line{stroke-dasharray:3}#mermaid-svg-CYXm9YXWnxJmtNm6 #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-CYXm9YXWnxJmtNm6 #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-CYXm9YXWnxJmtNm6 #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-CYXm9YXWnxJmtNm6 #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-CYXm9YXWnxJmtNm6 #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-CYXm9YXWnxJmtNm6 #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-CYXm9YXWnxJmtNm6 #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-CYXm9YXWnxJmtNm6 #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-CYXm9YXWnxJmtNm6 .commit-id,#mermaid-svg-CYXm9YXWnxJmtNm6 .commit-msg,#mermaid-svg-CYXm9YXWnxJmtNm6 .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CYXm9YXWnxJmtNm6 .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CYXm9YXWnxJmtNm6 .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CYXm9YXWnxJmtNm6 g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CYXm9YXWnxJmtNm6 g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-CYXm9YXWnxJmtNm6 g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-CYXm9YXWnxJmtNm6 g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-CYXm9YXWnxJmtNm6 g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-CYXm9YXWnxJmtNm6 .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-CYXm9YXWnxJmtNm6 .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-CYXm9YXWnxJmtNm6 .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-CYXm9YXWnxJmtNm6 .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-CYXm9YXWnxJmtNm6 .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-CYXm9YXWnxJmtNm6 .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-CYXm9YXWnxJmtNm6 .edgeLabel text{fill:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CYXm9YXWnxJmtNm6 .node circle.state-start{fill:black;stroke:black}#mermaid-svg-CYXm9YXWnxJmtNm6 .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-CYXm9YXWnxJmtNm6 #statediagram-barbEnd{fill:#9370db}#mermaid-svg-CYXm9YXWnxJmtNm6 .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-CYXm9YXWnxJmtNm6 .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-CYXm9YXWnxJmtNm6 .statediagram-state .divider{stroke:#9370db}#mermaid-svg-CYXm9YXWnxJmtNm6 .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-CYXm9YXWnxJmtNm6 .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-CYXm9YXWnxJmtNm6 .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-CYXm9YXWnxJmtNm6 .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-CYXm9YXWnxJmtNm6 .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-CYXm9YXWnxJmtNm6 .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-CYXm9YXWnxJmtNm6 .note-edge{stroke-dasharray:5}#mermaid-svg-CYXm9YXWnxJmtNm6 .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '"trebuchet ms", verdana, arial';--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive}#mermaid-svg-CYXm9YXWnxJmtNm6 .error-icon{fill:#522}#mermaid-svg-CYXm9YXWnxJmtNm6 .error-text{fill:#522;stroke:#522}#mermaid-svg-CYXm9YXWnxJmtNm6 .edge-thickness-normal{stroke-width:2px}#mermaid-svg-CYXm9YXWnxJmtNm6 .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-CYXm9YXWnxJmtNm6 .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-CYXm9YXWnxJmtNm6 .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-CYXm9YXWnxJmtNm6 .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-CYXm9YXWnxJmtNm6 .marker{fill:#333}#mermaid-svg-CYXm9YXWnxJmtNm6 .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-CYXm9YXWnxJmtNm6 { color: rgba(0, 0, 0, 0.75); font: ; } 物理结构 顺序存储 非顺序存储 链式存储 索引存储 散列存储以下我将根据逻辑结构为线性结构来做讨论 顺序存储
指在内存中,每个元素的地址空间是相邻的,连续的;通俗地讲,就是你跟你有一堆房子,而且每个房子的门牌号还都是连着的,如门牌号为: 2001,2002,2003…【注意 】: 在此结构下,各个元素的数据类型都要是一样的哟;链式存储
指在内存中,每个元素的地址空间不是挨着的,需要通过指针来寻找索引存储
在存储元素信息的同时,还需要建立附加的索引表,索引表的每项称为索引项,索引项的一般形式是(关键字,地址)散列存储
根据元素的关键字直接计算出该元素的存储地址,又称为哈希(Hash)存储在下面的学习中我们将根据一下的框架来掌握数据结构
我以逻辑结构是线性结构为例
Step1 : 掌握线性结构的定义Step2:掌握线性结构在顺序存储方式下的定义以及基本操作Step3:掌握线性结构在链式存储方式下的定义以及基本操作然后对于其他的逻辑结构,也是按照这种框架进行学习就好了。
最后, 感谢大家的观看, 希望大家积极纠错, 我也会积极改正滴吖!!!