| OCR Text |
Show 24 2.3.3 :ked Data Structure averse the lks alcng soe ath. For exarrple, the A liked data structure is a grou of records tich are tied o;etter by varos poiters cr links. The nivi6ual reccrds are accessed by operatios which !iked strcture ight be a list of apointent dates where Each cate record contaned a pointer to the next and a 5?ecial syrrtol rrarks the ene of the list. The operations cefied to traverse such a list require the introduction of a new type of variable comonly called a "pointer". The poiner variables associated with linked structures are thought of as references rather than as containers and they are dynaicaly bonc by the traversing o?erations rather :3n the program is corrpiled or a rocedcre invoked. is a cirected graph where the set of records corresponds to the set of vertices, the set of pointers corresponds to the set of arcs, and the structure defines a mapping from the arcs onto the vertices. ey isposing restrictions or. the general structure, one can define trees, list, and other scecific linked structures. Khen dealing ith linked s:ructures it is irrDortat to realize that uch of the in:crmation is carried in the structure itself. |