欢迎来到天天文库
浏览记录
ID:52007290
大小:296.50 KB
页数:12页
时间:2020-03-28
《计算机科学导论-data structures.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、DataStructuresObjectivesUnderstandarraysandtheirusefulness.Understandrecordsandthedifferencebetweenanarrayandarecord.Understandtheconceptofalinkedlistandthedifferencebetweenanarrayandalinkedlist.Understandwhentouseanarrayandwhentousealinked-list.Arrays-definitionAnarrayisafixed-siz
2、ed,sequencedcollectionofelementsofthesamedatatype.Arrays–memorylayoutRecords-definitionArecordisacollectionofrelatedelements,possiblyofdifferenttypes,havingasinglename.Eachelementinarecordiscalledafield.Afieldisthesmallestelementofnameddatathathasmeaning.Thedifferencebetweenanarray
3、andarecord?Records-examplesLinkedlistAlinkedlistisanorderedcollectionofdatainwhicheachelementcontainsthelocationofthenextelement;thatis,eachelementcontainstwoparts:dataandlink.InsertinganodeDeletinganodeTraversingalistOtherdatastructuretopicsStacksQueuesTreesBinarytreesGraphsObject
4、ivesUnderstandarraysandtheirusefulness.Understandrecordsandthedifferencebetweenanarrayandarecord.Understandtheconceptofalinkedlistandthedifferencebetweenanarrayandalinkedlist.Understandwhentouseanarrayandwhentousealinked-list.
此文档下载收益归作者所有