Let - PowerPoint PPT Presentation

1 / 2
About This Presentation
Title:

Let

Description:

Let s set up an ADT for A List Type List Domain Each instance of the List type contains one item which represents a pointer to the first item in the list. – PowerPoint PPT presentation

Number of Views:21
Avg rating:3.0/5.0
Slides: 3
Provided by: Compute142
Category:
Tags: pointers

less

Transcript and Presenter's Notes

Title: Let


1
Lets set up an ADT for A List Type List Domain Ea
ch instance of the List type contains one item
which represents a pointer to the first item in
the list. Operations IsEmpty, Insert, Delete,
Print
2
We could implement our Linked List using arrays.
struct NodeType int component
int link NodeType list1000 int head
Or even better we could implement it using
pointers.
typedef int ComponentType struct NodeType //
Forward declaration typedef NodeType
NodePtr struct NodeType ComponentType
component NodePtr link
Write a Comment
User Comments (0)
About PowerShow.com