



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Jeffrey Miller, Ph.D.
Data structures consist of one or more variablesthat are logically related to each other - There is usually a set of functions available tooperate on the data too - We have already talked about one such structure - Array – all of the elements in an array are of the sametype and are stored consecutively in memory
A linked list is a linear collection of self-referential structures (called nodes),connected by pointer links struct node { int data; struct node *next_node; } struct linked_list { struct node *start_node; }
A stack is a constrained version of a linkedlist, though it is a LIFO data structure
A queue is a constrained version of a linkedlist, though it is a FIFO data structure
Homework #8 is posted!