1 / 2

STRUCTURI DINAMICE DE DATE

STRUCTURI DINAMICE DE DATE. LISTE UNIDIRECŢIONALE inserarea unui element. MEMORIA. Segmentul de date. Heap (grămada). P. 010. 010. A. 020. R. 050. 040. 010. 020. 040. 030. nil. 020. B. 050. 030. V. 040. 050. 030. C. 040. 040. D. nil. 050. 060. 070. 080. 090.

tallys
Download Presentation

STRUCTURI DINAMICE DE DATE

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. STRUCTURI DINAMICE DE DATE LISTE UNIDIRECŢIONALE inserarea unui element

  2. MEMORIA Segmentul de date Heap (grămada) P 010 010 A 020 R 050 040 010 020 040 030 nil 020 B 050 030 V 040 050 030 C 040 040 D nil 050 060 070 080 090 100 Info Urm Procedure Includ; var s:string; var s:string; var s:string; begin R:=P; R:=P; R:=P; readln(s); readln(s); readln(s); while R<>nil do while R<>nil do while R<>nil do while R<>nil do while R<>nil do while R<>nil do while R<>nil do while R<>nil do while R<>nil do while R<>nil do while R<>nil do while R<>nil do while R<>nil do begin if R^.Info=s if R^.Info=s if R^.Info=s if R^.Info=s if R^.Info=s if R^.Info=s if R^.Info=s if R^.Info=s if R^.Info=s if R^.Info=s if R^.Info=s then begin new(V); new(V); new(V); readln(V^.Info); readln(V^.Info); readln(V^.Info); S B V^.Urm:=R^.Urm; V^.Urm:=R^.Urm; V^.Urm:=R^.Urm; F 030 R^.Urm:=V; R^.Urm:=V; R^.Urm:=V; end; R:=R^.Urm; R:=R^.Urm; R:=R^.Urm; R:=R^.Urm; R:=R^.Urm; R:=R^.Urm; R:=R^.Urm; R:=R^.Urm; R:=R^.Urm; R:=R^.Urm; R:=R^.Urm; end; end; end;

More Related