Home Class Notes Data Structure and Algorithms Lists Linked Lists and Stacks

Baba

A personal blog of Baba Pandey - A self taught SEO Expert

www.babapandey.com

Interesting Sites:

Computer Forensics Degree


Lists Linked Lists and Stacks PDF Print E-mail
Class Notes and Others - Data Structure and Algorithms

 

Chapter: Data Structure and Algorithms

Topic: Lists, Linked Lists and Stacks


Download The Lists Data Structure Class Notes from hamilton.bell.ac.uk

Download The Linked List Teacher's Presentation (PowerPoint Slides) from cs.sunysb.edu

Download The Power Point Slides for The Lists, Stacks and Queues

Take a MCQ Test on Data Structures: Lists, Stacks, and Queues

Visit Dictionary of Algorithms and Data Structures

 

 

List Data Structure

A list is a sequential data structure, i.e. a collection of items accessible one after another beginning at the head and ending at the tail. It is a widely used data structure for applications which do not need random access. It differs from the stack and queue data structures in that additions and removals can be made at any position in the list.  

 

Operations 

The main primitive operations of a list are known as: 

Add - adds a new node  

Set - updates the contents of a node 

Remove - removes a node 

Get - returns the value at a specified index 

IndexOf -returns the index in the list of a specified element 

 

Additional primitives can be defined: 

IsEmpty - reports whether the list is empty 

IsFull - reports whether the list is full 

Initialise - creates/initialises the list 

Destroy - deletes the contents of the list (may be implemented by re-initialising the 

list) 

 

Comments (0)
Write comment
Your Contact Details:
Gravatar enabled
Comment:
<strong> <em> <span style="text-decoration:underline;"> <a target=' /> [quote] [code] <img />   
:D:angry::angry-red::evil::idea::love::x:no-comments::ooo::pirate::?::(
:sleep::););)):0
Security
Please input the anti-spam code that you can read in the image.
 

Disclaimer

PS Exam is all about Computer Science and Computer Jobs Exam Preparation, for those who are pursuing Career in Information Technology Field!

 

Our revenue source is advertisements and provide you Free Multiple Choice Questions, Free Quizes, Ebooks and Class Notes, Questions and Answers, Resources to help you prepare better, all for FREE. This site uses Google Adsense and other third party advertisements. The links with double underline are advertisements from Infolinks.

 

Get contents in email instantly

Enter your email address:

 

PS Exam on Facebook

Who's Online

We have 30 guests online

Sponsored