SlideShare a Scribd company logo
1 of 37
Dr. C. Saritha
  Lecturer in Electronics
SSBN Degree & PG College
      ANANTAPUR
 Data structure:-A data structure is a
  logical representation of data and
  operation that can be performed on
  the data.
  1)linear data structure
  2)Non linear data structure
 Linear data structure is an order of

  data elements. They are arrays,
  stacks, queues, and linked lists.
Linked list :- linked list is a linear data
  structure. It contains nodes. Each node
  contains two parts, i.e. DATA part and
  LINK part.
 The data contains elements and

 Link contains address of another node.
   Arrays are simple to understand and
    elements of an array are easily
    accessible
   But arrays have some limitations.
   Arrays have a fixed dimension.
   Once the size of an array is decided it
    can not be increased or decreased
    during education.
   Array elements are always stored in
    contiguous memory locations.
   Operations like insertion or deletion of
    the array are pretty tedious.
   To over come this limitations we use
    linked list.
   Linked list is a collection of elements
    called nodes.
   Each node contains two parts. they are
    data part and link part.


          Node
           data       link
14      100     30     400      42     N
200             100             400


•   The above figure shows the example of
    marks obtained by different students can
    be stored in a linked list
•   Here N-stands for NULL.
•   Null indicates the end of the node.
The basic operations on linked lists are
1. Creation

2. Insertion

3. Deletion

4. Traversing

5. Searching

6. Concatenation

7. Display
•   The creation operation is used to create a
    linked list.
•   Insertion operation is used to insert a
    new node in the linked list at the
    specified position. A new node may be
    inserted at the beginning of a linked list ,
    at the end of the linked list , at the
    specified position in a linked list. If the
    list itself is empty , then the new node is
    inserted as a first node.
•   Deletion operation is used to delete on
    item from the linked list. It may be
    deleted from the beginning of a linked
    list , specified position in the list.
•   Traversing operation is a process of
    going through all the nodes of a linked
    list from one end to the another end. If
    we start traversing from the very first
    node towards the last node , It is called
    forward traversing.
•   If the traversal start from the last node
    towards the first node , it is called back
    word traversing.
•   Searching operation is a process of
    accessing the desired node in the list.
    We start searching node –by-node and
    compare the data of the node with the
    key.
•   Concatenation operation is the process
    of appending the second list to the end
    of the first list. When we concatenate
    two lists , the resultant list becomes
    larger in size.
•   The display operation is used to print
    each and every node’s information.
1.   Single linked list
2.   Double linked list
3.   Circular linked list
4.   Circular double linked list
SINGLE LINKED LIST :-
•  A single linked list is one in which all
  nodes are linked together in some
  sequential manner.
• CIRCULAR LINKED LIST :-

• A circular linked list is one which has
  no beginning and no ending. The null
  pointer in the last node of a linked list
  is replaced with the address of its first
  node such a list is called circular linked
  list.
SINGLE LINKED LIST :
500
        45   100     60   200        35   N

Start


CIRCULAR LINKED LIST:-
 45  100   60   200             35        400

400            100              200
Inserting a new node :
Before inserting:

14      100       35     200          20         N
400               100                200
After inserting:
            30    100   35     200         20    N

75    400
            400         100                200
400
Delete a node from the list:
before deletion:
35    400    48     300     46   500     30    N
200          400           300           500
after deletion :

35     300         46     500      30     N
200                300             500
   In circular linked list we have
    three functions. They are

•   addcirq( )
•   delcirq( )
•   cirq_display( )
addcirq( ) :-
                This function accepts three
    parameters.
    First parameter receives the address
    of the first node.
   The second parameter receives the
    address of the pointer to the last
    node.
Delcirq( ) :-
   This function receives two parameters.
 The first parameter is the pointer to the

  front node.
 The second is the pointer to the rear.



10 front   17           16rear     5
DOUBLE LINKED LIST :-
        A single linked list has some
  disadvantages
• That it can traverse it in one direction.

• Many applications require searching

  backword and forword travelling
  sections of a list
•   A two way list is a linear collection of
    data elements called nodes.
•   When each node is divided into three
    parts. They are two link parts and
    one data part.
              node
    prev      data        next
Inserting a new node :
Before insertion:-
N   11 100      200 20 400       100 40 N

    200           100            400
After insertion:-
                                  100 40 N
N 11 100     200 20     400

                          400 25 100
Delete a node from the list:
Before deletion:-

N       5     200       600 11    400   200 4   N

    600                   200           400
After deletion:-

    N       11    400           200 4   N

            200                  400
REVERSING THE LINKS :
 Reversing means the last node
 becomes the first node and the first
 becomes the last.
5         23         3           17 N

5         23          3          17


17        3           23          5     N
MERGING OF LINKED LIST :
•   suppose we have two linked lists.
• That are pointed to two independent

  pointers. We have to merge the two
  links into a third list.
• By using this merge ( ) to ensure that

  those elements which are common to
  both the lists occur only once in the
  third list.
9         12         14   N




    12        17         24   N




9        12        14   17        24 N
SORTING OF A LINKED LIST :
• Sorting means to arrange the elements
  either in ascending or descending
  order.
• To sort the elements of a linked list we
  use any of the standard sorting
  algorithms for carrying out the sorting.
• While performing the sorting, when it
  is time to exchange two elements, we
  can adopt any of the following two
  strategies.
1)Exchange the data part of the two
   nodes, keeping the links intact.



 2        8         4       3    N




 2        3        4         8   N
2)    Keep the data in the nodes intact.
     Simply readjust the links such that
     effectively the order of the nodes
     changes

2     400    8     500   4     600    11    N

200         400          500          600

2     500    8     600   4      400    11 N

200          400         500           600
RECURSIVE OPERATIONS ON
  LINKED LIST :
   A function called by itself known as
  recursion.
 If a statement within the body of a

  function calls the same function.
 Some of the operations that are carried

  out on linked list can be easily
  implemented using recursion.
    For example finding out the number
    of nodes present in a linked list,
    comparing two lists, copying one
    linked list into another, adding a new
    node at the end of the linked list, etc.,
   We can dynamically allocate memory
    space as needed
   We can release the unused space in the
    situation where the allocated space
    seems to be more.
   Operation related to data elements like
    insertions or deletion are more
    simplified.
   Operation like insertion or deletion
    are less time consuming.
   Linked lists provide flexibility in
    allowing the items to be arranged
    efficiently.
   When ever we deal with fixed length
    lists it would be better to use an array
    rather than linked list.
   Linked list will consume more storage
    space than an array with same number
    of items this is because each item has
    an addition link field
   Linked lists are used in many other
    data structures.
   Linked lists are used in polynomial
    manipulation.
   Representation of trees, stacks, queues.
    etc.,
THANK YOU

More Related Content

What's hot

SEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMSSEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMSGokul Hari
 
Queue in Data Structure
Queue in Data Structure Queue in Data Structure
Queue in Data Structure Janki Shah
 
linked list in Data Structure, Simple and Easy Tutorial
linked list in Data Structure, Simple and Easy Tutoriallinked list in Data Structure, Simple and Easy Tutorial
linked list in Data Structure, Simple and Easy TutorialAfzal Badshah
 
Searching techniques in Data Structure And Algorithm
Searching techniques in Data Structure And AlgorithmSearching techniques in Data Structure And Algorithm
Searching techniques in Data Structure And Algorithm03446940736
 
Data Structures - Lecture 7 [Linked List]
Data Structures - Lecture 7 [Linked List]Data Structures - Lecture 7 [Linked List]
Data Structures - Lecture 7 [Linked List]Muhammad Hammad Waseem
 
Double Linked List (Algorithm)
Double Linked List (Algorithm)Double Linked List (Algorithm)
Double Linked List (Algorithm)Huba Akhtar
 
Circular link list.ppt
Circular link list.pptCircular link list.ppt
Circular link list.pptTirthika Bandi
 
Linked list
Linked listLinked list
Linked listVONI
 
Data structure - Graph
Data structure - GraphData structure - Graph
Data structure - GraphMadhu Bala
 
Queue data structure
Queue data structureQueue data structure
Queue data structureanooppjoseph
 
Hashing Technique In Data Structures
Hashing Technique In Data StructuresHashing Technique In Data Structures
Hashing Technique In Data StructuresSHAKOOR AB
 
Priority queue in DSA
Priority queue in DSAPriority queue in DSA
Priority queue in DSAjunnubabu
 

What's hot (20)

SEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMSSEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMS
 
Queue in Data Structure
Queue in Data Structure Queue in Data Structure
Queue in Data Structure
 
Doubly Linked List
Doubly Linked ListDoubly Linked List
Doubly Linked List
 
Queues
QueuesQueues
Queues
 
linked list in Data Structure, Simple and Easy Tutorial
linked list in Data Structure, Simple and Easy Tutoriallinked list in Data Structure, Simple and Easy Tutorial
linked list in Data Structure, Simple and Easy Tutorial
 
Data Structure (Queue)
Data Structure (Queue)Data Structure (Queue)
Data Structure (Queue)
 
Searching techniques in Data Structure And Algorithm
Searching techniques in Data Structure And AlgorithmSearching techniques in Data Structure And Algorithm
Searching techniques in Data Structure And Algorithm
 
Data Structures - Lecture 7 [Linked List]
Data Structures - Lecture 7 [Linked List]Data Structures - Lecture 7 [Linked List]
Data Structures - Lecture 7 [Linked List]
 
Hashing
HashingHashing
Hashing
 
Double Linked List (Algorithm)
Double Linked List (Algorithm)Double Linked List (Algorithm)
Double Linked List (Algorithm)
 
Linked list
Linked listLinked list
Linked list
 
Circular link list.ppt
Circular link list.pptCircular link list.ppt
Circular link list.ppt
 
Linked list
Linked listLinked list
Linked list
 
Data structure - Graph
Data structure - GraphData structure - Graph
Data structure - Graph
 
Queue data structure
Queue data structureQueue data structure
Queue data structure
 
Linked List
Linked ListLinked List
Linked List
 
stack & queue
stack & queuestack & queue
stack & queue
 
Hashing Technique In Data Structures
Hashing Technique In Data StructuresHashing Technique In Data Structures
Hashing Technique In Data Structures
 
Priority queue in DSA
Priority queue in DSAPriority queue in DSA
Priority queue in DSA
 
Linked list
Linked listLinked list
Linked list
 

Viewers also liked (20)

Link List
Link ListLink List
Link List
 
Single linked list
Single linked listSingle linked list
Single linked list
 
linked list
linked list linked list
linked list
 
Linked lists
Linked listsLinked lists
Linked lists
 
DATA STRUCTURES
DATA STRUCTURESDATA STRUCTURES
DATA STRUCTURES
 
Doubly linked list (animated)
Doubly linked list (animated)Doubly linked list (animated)
Doubly linked list (animated)
 
Array implementation and linked list as datat structure
Array implementation and linked list as datat structureArray implementation and linked list as datat structure
Array implementation and linked list as datat structure
 
Stack data structure
Stack data structureStack data structure
Stack data structure
 
Stack Applications
Stack ApplicationsStack Applications
Stack Applications
 
Stack
StackStack
Stack
 
STACKS IN DATASTRUCTURE
STACKS IN DATASTRUCTURESTACKS IN DATASTRUCTURE
STACKS IN DATASTRUCTURE
 
Data structures (introduction)
 Data structures (introduction) Data structures (introduction)
Data structures (introduction)
 
Trees data structure
Trees data structureTrees data structure
Trees data structure
 
Doubly linked list
Doubly linked listDoubly linked list
Doubly linked list
 
linked list
linked list linked list
linked list
 
List Data Structure
List Data StructureList Data Structure
List Data Structure
 
Queue Data Structure
Queue Data StructureQueue Data Structure
Queue Data Structure
 
Insertion into linked lists
Insertion into linked lists Insertion into linked lists
Insertion into linked lists
 
Linked list
Linked listLinked list
Linked list
 
Lecture 1 data structures and algorithms
Lecture 1 data structures and algorithmsLecture 1 data structures and algorithms
Lecture 1 data structures and algorithms
 

Similar to Data Structures Linked Lists Explained

Similar to Data Structures Linked Lists Explained (20)

data structures and applications power p
data structures and applications power pdata structures and applications power p
data structures and applications power p
 
Linkedlists
LinkedlistsLinkedlists
Linkedlists
 
Linked list (1).pptx
Linked list (1).pptxLinked list (1).pptx
Linked list (1).pptx
 
ds-lecture-4-171012041008 (1).pdf
ds-lecture-4-171012041008 (1).pdfds-lecture-4-171012041008 (1).pdf
ds-lecture-4-171012041008 (1).pdf
 
Linked list
Linked listLinked list
Linked list
 
Linkedlist
LinkedlistLinkedlist
Linkedlist
 
Linked list in Data Structure and Algorithm
Linked list in Data Structure and Algorithm Linked list in Data Structure and Algorithm
Linked list in Data Structure and Algorithm
 
1.3 Linked List.pptx
1.3 Linked List.pptx1.3 Linked List.pptx
1.3 Linked List.pptx
 
csc211_lecture_21.pptx
csc211_lecture_21.pptxcsc211_lecture_21.pptx
csc211_lecture_21.pptx
 
Linked List in Data Structure
Linked List in Data StructureLinked List in Data Structure
Linked List in Data Structure
 
linked list using c
linked list using clinked list using c
linked list using c
 
Data Structures and Algorithms - Lec 05.pptx
Data Structures and Algorithms - Lec 05.pptxData Structures and Algorithms - Lec 05.pptx
Data Structures and Algorithms - Lec 05.pptx
 
Deletion from single way linked list and search
Deletion from single way linked list and searchDeletion from single way linked list and search
Deletion from single way linked list and search
 
Linked List.pptx
Linked List.pptxLinked List.pptx
Linked List.pptx
 
Link_List.pptx
Link_List.pptxLink_List.pptx
Link_List.pptx
 
Unit ii(dsc++)
Unit ii(dsc++)Unit ii(dsc++)
Unit ii(dsc++)
 
unit 1.pptx
unit 1.pptxunit 1.pptx
unit 1.pptx
 
Linked list (introduction) 1
Linked list (introduction) 1Linked list (introduction) 1
Linked list (introduction) 1
 
Unit 1 linked list
Unit 1 linked listUnit 1 linked list
Unit 1 linked list
 
Unit 3 dsa LINKED LIST
Unit 3 dsa LINKED LISTUnit 3 dsa LINKED LIST
Unit 3 dsa LINKED LIST
 

More from SARITHA REDDY

Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers finalSARITHA REDDY
 
Introduction to microprocessors notes
Introduction to microprocessors notesIntroduction to microprocessors notes
Introduction to microprocessors notesSARITHA REDDY
 
8051 data types and directives
8051 data types and directives8051 data types and directives
8051 data types and directivesSARITHA REDDY
 
Unit ii microcontrollers final
Unit ii microcontrollers finalUnit ii microcontrollers final
Unit ii microcontrollers finalSARITHA REDDY
 
Introduction to microprocessor notes
Introduction to microprocessor notesIntroduction to microprocessor notes
Introduction to microprocessor notesSARITHA REDDY
 
8051 data type and directives
8051 data type and directives8051 data type and directives
8051 data type and directivesSARITHA REDDY
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequencySARITHA REDDY
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051SARITHA REDDY
 
I o ports and timers of 8051
I o ports and timers of 8051I o ports and timers of 8051
I o ports and timers of 8051SARITHA REDDY
 
Mos and cmos technology
Mos and cmos technologyMos and cmos technology
Mos and cmos technologySARITHA REDDY
 
Clampers and clippers
Clampers and clippersClampers and clippers
Clampers and clippersSARITHA REDDY
 
Electro Magnetic Wave Propagation
Electro Magnetic Wave PropagationElectro Magnetic Wave Propagation
Electro Magnetic Wave PropagationSARITHA REDDY
 
Satellite communications
Satellite communicationsSatellite communications
Satellite communicationsSARITHA REDDY
 
Electronics in daily life
Electronics in daily lifeElectronics in daily life
Electronics in daily lifeSARITHA REDDY
 
BSc I year practicals
BSc I year practicalsBSc I year practicals
BSc I year practicalsSARITHA REDDY
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuitsSARITHA REDDY
 
Applications of op amps
Applications of op ampsApplications of op amps
Applications of op ampsSARITHA REDDY
 

More from SARITHA REDDY (20)

Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers final
 
Introduction to microprocessors notes
Introduction to microprocessors notesIntroduction to microprocessors notes
Introduction to microprocessors notes
 
8051 data types and directives
8051 data types and directives8051 data types and directives
8051 data types and directives
 
Unit ii microcontrollers final
Unit ii microcontrollers finalUnit ii microcontrollers final
Unit ii microcontrollers final
 
Introduction to microprocessor notes
Introduction to microprocessor notesIntroduction to microprocessor notes
Introduction to microprocessor notes
 
8051 data type and directives
8051 data type and directives8051 data type and directives
8051 data type and directives
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequency
 
RT linux
RT linuxRT linux
RT linux
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
 
I o ports and timers of 8051
I o ports and timers of 8051I o ports and timers of 8051
I o ports and timers of 8051
 
Mos and cmos technology
Mos and cmos technologyMos and cmos technology
Mos and cmos technology
 
Logic families
Logic familiesLogic families
Logic families
 
Clampers and clippers
Clampers and clippersClampers and clippers
Clampers and clippers
 
Arrays
ArraysArrays
Arrays
 
Electro Magnetic Wave Propagation
Electro Magnetic Wave PropagationElectro Magnetic Wave Propagation
Electro Magnetic Wave Propagation
 
Satellite communications
Satellite communicationsSatellite communications
Satellite communications
 
Electronics in daily life
Electronics in daily lifeElectronics in daily life
Electronics in daily life
 
BSc I year practicals
BSc I year practicalsBSc I year practicals
BSc I year practicals
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Applications of op amps
Applications of op ampsApplications of op amps
Applications of op amps
 

Data Structures Linked Lists Explained

  • 1. Dr. C. Saritha Lecturer in Electronics SSBN Degree & PG College ANANTAPUR
  • 2.  Data structure:-A data structure is a logical representation of data and operation that can be performed on the data. 1)linear data structure 2)Non linear data structure  Linear data structure is an order of data elements. They are arrays, stacks, queues, and linked lists.
  • 3. Linked list :- linked list is a linear data structure. It contains nodes. Each node contains two parts, i.e. DATA part and LINK part.  The data contains elements and  Link contains address of another node.
  • 4. Arrays are simple to understand and elements of an array are easily accessible  But arrays have some limitations.  Arrays have a fixed dimension.  Once the size of an array is decided it can not be increased or decreased during education.
  • 5. Array elements are always stored in contiguous memory locations.  Operations like insertion or deletion of the array are pretty tedious.  To over come this limitations we use linked list.
  • 6. Linked list is a collection of elements called nodes.  Each node contains two parts. they are data part and link part. Node data link
  • 7. 14 100 30 400 42 N 200 100 400 • The above figure shows the example of marks obtained by different students can be stored in a linked list • Here N-stands for NULL. • Null indicates the end of the node.
  • 8. The basic operations on linked lists are 1. Creation 2. Insertion 3. Deletion 4. Traversing 5. Searching 6. Concatenation 7. Display
  • 9. The creation operation is used to create a linked list. • Insertion operation is used to insert a new node in the linked list at the specified position. A new node may be inserted at the beginning of a linked list , at the end of the linked list , at the specified position in a linked list. If the list itself is empty , then the new node is inserted as a first node.
  • 10. Deletion operation is used to delete on item from the linked list. It may be deleted from the beginning of a linked list , specified position in the list. • Traversing operation is a process of going through all the nodes of a linked list from one end to the another end. If we start traversing from the very first node towards the last node , It is called forward traversing.
  • 11. If the traversal start from the last node towards the first node , it is called back word traversing. • Searching operation is a process of accessing the desired node in the list. We start searching node –by-node and compare the data of the node with the key.
  • 12. Concatenation operation is the process of appending the second list to the end of the first list. When we concatenate two lists , the resultant list becomes larger in size. • The display operation is used to print each and every node’s information.
  • 13. 1. Single linked list 2. Double linked list 3. Circular linked list 4. Circular double linked list
  • 14. SINGLE LINKED LIST :- • A single linked list is one in which all nodes are linked together in some sequential manner. • CIRCULAR LINKED LIST :- • A circular linked list is one which has no beginning and no ending. The null pointer in the last node of a linked list is replaced with the address of its first node such a list is called circular linked list.
  • 15. SINGLE LINKED LIST : 500 45 100 60 200 35 N Start CIRCULAR LINKED LIST:- 45 100 60 200 35 400 400 100 200
  • 16. Inserting a new node : Before inserting: 14 100 35 200 20 N 400 100 200 After inserting: 30 100 35 200 20 N 75 400 400 100 200 400
  • 17. Delete a node from the list: before deletion: 35 400 48 300 46 500 30 N 200 400 300 500 after deletion : 35 300 46 500 30 N 200 300 500
  • 18. In circular linked list we have three functions. They are • addcirq( ) • delcirq( ) • cirq_display( )
  • 19. addcirq( ) :- This function accepts three parameters.  First parameter receives the address of the first node.  The second parameter receives the address of the pointer to the last node.
  • 20. Delcirq( ) :- This function receives two parameters.  The first parameter is the pointer to the front node.  The second is the pointer to the rear. 10 front 17 16rear 5
  • 21. DOUBLE LINKED LIST :- A single linked list has some disadvantages • That it can traverse it in one direction. • Many applications require searching backword and forword travelling sections of a list
  • 22. A two way list is a linear collection of data elements called nodes. • When each node is divided into three parts. They are two link parts and one data part. node prev data next
  • 23. Inserting a new node : Before insertion:- N 11 100 200 20 400 100 40 N 200 100 400 After insertion:- 100 40 N N 11 100 200 20 400 400 25 100
  • 24. Delete a node from the list: Before deletion:- N 5 200 600 11 400 200 4 N 600 200 400 After deletion:- N 11 400 200 4 N 200 400
  • 25. REVERSING THE LINKS : Reversing means the last node becomes the first node and the first becomes the last. 5 23 3 17 N 5 23 3 17 17 3 23 5 N
  • 26. MERGING OF LINKED LIST : • suppose we have two linked lists. • That are pointed to two independent pointers. We have to merge the two links into a third list. • By using this merge ( ) to ensure that those elements which are common to both the lists occur only once in the third list.
  • 27. 9 12 14 N 12 17 24 N 9 12 14 17 24 N
  • 28. SORTING OF A LINKED LIST : • Sorting means to arrange the elements either in ascending or descending order. • To sort the elements of a linked list we use any of the standard sorting algorithms for carrying out the sorting. • While performing the sorting, when it is time to exchange two elements, we can adopt any of the following two strategies.
  • 29. 1)Exchange the data part of the two nodes, keeping the links intact. 2 8 4 3 N 2 3 4 8 N
  • 30. 2) Keep the data in the nodes intact. Simply readjust the links such that effectively the order of the nodes changes 2 400 8 500 4 600 11 N 200 400 500 600 2 500 8 600 4 400 11 N 200 400 500 600
  • 31. RECURSIVE OPERATIONS ON LINKED LIST :  A function called by itself known as recursion.  If a statement within the body of a function calls the same function.  Some of the operations that are carried out on linked list can be easily implemented using recursion.
  • 32. For example finding out the number of nodes present in a linked list, comparing two lists, copying one linked list into another, adding a new node at the end of the linked list, etc.,
  • 33. We can dynamically allocate memory space as needed  We can release the unused space in the situation where the allocated space seems to be more.  Operation related to data elements like insertions or deletion are more simplified.
  • 34. Operation like insertion or deletion are less time consuming.  Linked lists provide flexibility in allowing the items to be arranged efficiently.
  • 35. When ever we deal with fixed length lists it would be better to use an array rather than linked list.  Linked list will consume more storage space than an array with same number of items this is because each item has an addition link field
  • 36. Linked lists are used in many other data structures.  Linked lists are used in polynomial manipulation.  Representation of trees, stacks, queues. etc.,