LinkedLists_I - CIS3023: Programming Fundamentals for CIS...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
CIS3023: Programming Fundamentals for CIS Majors II Summer 2010 Ganesh Viswanathan Linked Lists Course Lecture Slides 23 July 2010 A list is only as strong as its weakest link .” --Donald Knuth
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Data structure A way of structuring, storing and organizing data in computers that facilitates efficient operations on the data. Data structures help to devise algorithms for solving complex operations on the data in an efficient manner.
Background image of page 2
Data structures Stack Queue Tree And many more!
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ArrayList To insert (remove) an element in (from) the interior of an ArrayList requires shifting of data and is a linear-time O(n) operation!
Background image of page 4
Linked List Is a collection of linked nodes (think of a chain !) Memory allocation for nodes is non-contiguous Sports constant time O(1) insertion and updates
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Linked List Variations Singly-Linked Lists Doubly-Linked Lists Multi-Linked Lists Circular Linked Lists Unrolled Linked Lists (multiple elements in each node) Lists with only head pointer nodes With head and tail nodes With head, tail and cursor (currently requested) nodes And many more!
Background image of page 6
A set of nodes, each containing some data and a link to the next node . Dynamic data-structure.
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/27/2011 for the course CIS 3023 taught by Professor Dobbins during the Summer '08 term at University of Florida.

Page1 / 27

LinkedLists_I - CIS3023: Programming Fundamentals for CIS...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online