SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
POLYNOMIAL ADDITION USING LINKED LIST.pptx
 Polynomial: It is a mathematical expression
consisting of one or more terms .
 Ex: 3x^2 - 16y, 4x^3 + 2x - 1
 Linked list: It is a linear data structure that
consists of connected nodes. Each node is
used to store the data and also the address of
next node.
 Ex:
 Let’s say we have two polynomials
3x^2 + 29x + 1……….(i)
5x^2 - x + 2………...(ii)
 Addition of two polynomials involves
combining like terms present in the two
polynomials (adding terms of same variable
and same exponents).
 Adding equation (i) & (ii)
3x^2 + 2x + 1 3x^2 & 5x^2 are
5x^2 – x + 2 like terms.
Similarly, x & 2x
8x^2 + x + 3 are like terms.
 Addition of two polynomials become easier if
terms are arranged in descending order.
 We have two polynomials to add.
5x^6 + 6x^4 + 2x^3
8x^6 + 3x^2 + 4x + 5
 Let’s represent above polynomials using
linked list.
 Adding two polynomials means adding their
like terms. So, now we will compare their
exponents.
5x^6 + 6x^4 + 2x^3 (Polynomial 1)
8x^6 + 3x^2 + 4x + 5 (Polynomial 2)
13x^6 + 6x^4 + 2x^3 + 3x^2 + 4x +5
 In a linked list representation the addition
operation is easier to perform because the two
polynomials represented by linked list are
arranged in descending order.
 It saves lot of space.
 There is no need to allocate list size.
DISADVANTAGES OF USING LINKED
LIST:
 Cannot go backwards through the list.
 Cannot jump to the beginning of the list from
the end.
POLYNOMIAL ADDITION USING LINKED LIST.pptx

More Related Content

PPTX
Binary Search Tree
sagar yadav
 
PPTX
Linear search-and-binary-search
International Islamic University
 
PPTX
Prefix, Infix and Post-fix Notations
Afaq Mansoor Khan
 
PPTX
Polynomial reppresentation using Linkedlist-Application of LL.pptx
Albin562191
 
PPTX
Terminology of tree
RacksaviR
 
PPTX
Binary search
AparnaKumari31
 
PPSX
Data Structure (Queue)
Adam Mukharil Bachtiar
 
PPTX
Linked List
Ashim Lamichhane
 
Binary Search Tree
sagar yadav
 
Linear search-and-binary-search
International Islamic University
 
Prefix, Infix and Post-fix Notations
Afaq Mansoor Khan
 
Polynomial reppresentation using Linkedlist-Application of LL.pptx
Albin562191
 
Terminology of tree
RacksaviR
 
Binary search
AparnaKumari31
 
Data Structure (Queue)
Adam Mukharil Bachtiar
 
Linked List
Ashim Lamichhane
 

What's hot (20)

PPTX
Unit 1 polynomial manipulation
LavanyaJ28
 
PPTX
Linked list in Data Structure and Algorithm
KristinaBorooah
 
PPT
Lec 17 heap data structure
Sajid Marwat
 
PPTX
Stacks IN DATA STRUCTURES
Sowmya Jyothi
 
PDF
BCA DATA STRUCTURES LINEAR ARRAYS MRS.SOWMYA JYOTHI
Sowmya Jyothi
 
PDF
Applications of stack
eShikshak
 
PPTX
Data Structures - Lecture 9 [Stack & Queue using Linked List]
Muhammad Hammad Waseem
 
PPTX
Binary Search Tree
Abhishek L.R
 
PDF
Bca data structures linked list mrs.sowmya jyothi
Sowmya Jyothi
 
PPTX
Binary Arithmetic
Meenakshi Paul
 
PPTX
Lecture optimal binary search tree
Divya Ks
 
PPT
Selection sort
amna izzat
 
PPTX
Tree in data structure
ghhgj jhgh
 
PPTX
Radix sort presentation
Ratul Hasan
 
PPT
Singly link list
Rojin Khadka
 
PPTX
2. Array in Data Structure
Mandeep Singh
 
PPTX
AVL Tree in Data Structure
Vrushali Dhanokar
 
PPTX
Double Linked List (Algorithm)
Huba Akhtar
 
PPTX
Linked List - Insertion & Deletion
Afaq Mansoor Khan
 
PPTX
Disjoint sets union, find
subhashchandra197
 
Unit 1 polynomial manipulation
LavanyaJ28
 
Linked list in Data Structure and Algorithm
KristinaBorooah
 
Lec 17 heap data structure
Sajid Marwat
 
Stacks IN DATA STRUCTURES
Sowmya Jyothi
 
BCA DATA STRUCTURES LINEAR ARRAYS MRS.SOWMYA JYOTHI
Sowmya Jyothi
 
Applications of stack
eShikshak
 
Data Structures - Lecture 9 [Stack & Queue using Linked List]
Muhammad Hammad Waseem
 
Binary Search Tree
Abhishek L.R
 
Bca data structures linked list mrs.sowmya jyothi
Sowmya Jyothi
 
Binary Arithmetic
Meenakshi Paul
 
Lecture optimal binary search tree
Divya Ks
 
Selection sort
amna izzat
 
Tree in data structure
ghhgj jhgh
 
Radix sort presentation
Ratul Hasan
 
Singly link list
Rojin Khadka
 
2. Array in Data Structure
Mandeep Singh
 
AVL Tree in Data Structure
Vrushali Dhanokar
 
Double Linked List (Algorithm)
Huba Akhtar
 
Linked List - Insertion & Deletion
Afaq Mansoor Khan
 
Disjoint sets union, find
subhashchandra197
 
Ad

Similar to POLYNOMIAL ADDITION USING LINKED LIST.pptx (20)

PPTX
UNIT-2-Polynomials evict is weirdo used fir engineering mathematics.pptx
anilkumar31122005
 
PPTX
MULTIPLICATION OF 2 POLYNOMIALS.pptx
AarulMishra
 
PDF
Polynomialmotilalanehrunationalinstitute.pdf
yugpadhiyar2006
 
PPTX
Polynomial Manipulation in DATA STRUCTURE AND ANALYTICS PPT
gokulraj0707cm
 
PPT
MO 2020 DS Applications of Linked List 1 AB.ppt
shashankbhadouria4
 
DOCX
Applications of list
Elavarasi K
 
PPTX
Data structure and algorithm list structures
gangaresearch21
 
PPT
Linked Lists: A Comprehensive Guide Advantages, various types, and fundamenta...
MSridhar18
 
PDF
A polynomial may be represented as a linked list where each node cont.pdf
fashionfolionr
 
PPTX
DS - Application of List
MythiliMurugan3
 
PPTX
CS8391-Data Structures Unit 1
SIMONTHOMAS S
 
PPTX
Polynomials
Jonghoon Park
 
PPT
Linked list
Trupti Agrawal
 
PPTX
Module 3 Dara structure notes
Dreamers6
 
PPT
Sparse Matrix and Polynomial
Aroosa Rajput
 
PPTX
linked list_MODULE 3.pptx ppt on the linked list
AnuragKumar682871
 
PDF
COL106_Assignments.pdf
AyushSingh226386
 
PPTX
linkedlist.pptx
MeghaKulkarni27
 
PDF
I have to write a polynomial class linked list program and i do not .pdf
jibinsh
 
PDF
2a-Linked Listsxcxxcxxcxcxcxcxcxcxcxcxx.pdf
NGUYNTHNHQUC2
 
UNIT-2-Polynomials evict is weirdo used fir engineering mathematics.pptx
anilkumar31122005
 
MULTIPLICATION OF 2 POLYNOMIALS.pptx
AarulMishra
 
Polynomialmotilalanehrunationalinstitute.pdf
yugpadhiyar2006
 
Polynomial Manipulation in DATA STRUCTURE AND ANALYTICS PPT
gokulraj0707cm
 
MO 2020 DS Applications of Linked List 1 AB.ppt
shashankbhadouria4
 
Applications of list
Elavarasi K
 
Data structure and algorithm list structures
gangaresearch21
 
Linked Lists: A Comprehensive Guide Advantages, various types, and fundamenta...
MSridhar18
 
A polynomial may be represented as a linked list where each node cont.pdf
fashionfolionr
 
DS - Application of List
MythiliMurugan3
 
CS8391-Data Structures Unit 1
SIMONTHOMAS S
 
Polynomials
Jonghoon Park
 
Linked list
Trupti Agrawal
 
Module 3 Dara structure notes
Dreamers6
 
Sparse Matrix and Polynomial
Aroosa Rajput
 
linked list_MODULE 3.pptx ppt on the linked list
AnuragKumar682871
 
COL106_Assignments.pdf
AyushSingh226386
 
linkedlist.pptx
MeghaKulkarni27
 
I have to write a polynomial class linked list program and i do not .pdf
jibinsh
 
2a-Linked Listsxcxxcxxcxcxcxcxcxcxcxcxx.pdf
NGUYNTHNHQUC2
 
Ad

Recently uploaded (20)

PPTX
西班牙海牙认证瓦伦西亚国际大学毕业证与成绩单文凭复刻快速办理毕业证书
sw6vvn9s
 
PPTX
Basics of Memristors and fundamentals.pptx
onterusmail
 
PPTX
Drone.pptx this is the word like a good time to come over and watch the kids
MausamJha6
 
PPTX
Boolean Algebra-Properties and Theorems.pptx
bhavanavarri5458
 
PDF
Top 10 Client Success Story_ The Buy Snapchat Account Experience.pdf
Telegram Accounts
 
PPTX
2.Important-Definihhhhhhtions18 (1).pptx
trishalasharma7
 
PPTX
Basics of Memristors from zero to hero.pptx
onterusmail
 
PDF
Endalamaw Kebede.pdfvvbhjjnhgggftygtttfgh
SirajudinAkmel1
 
PPT
L1-Intro.ppt nhfjkhghjjnnnmkkjhigtyhhjjj
MdKarimUllahEmon
 
PPTX
Operating-Systems-A-Journey ( by information
parthbhanushali307
 
PPTX
Boolean Algebra-Properties and Theorems.pptx
bhavanavarri5458
 
PPTX
cocomo-220726173706-141e08f0.tyuiuuupptx
DharaniMani4
 
PPTX
13. ANAESTHETICS AND ALCOHOLS.pptx fucking
sriramraja650
 
PPT
Susunan & Bagian DRAWING 153UWYHSGDGH.ppt
RezaFbriadi
 
PPTX
English grade 10 st augusitne eoeoknkklm
zeropoint101109
 
PPTX
Disorders of the anterior horn cells.pptx
PraveenKumarEnduri
 
PPTX
22. PSYCHOTOGENIC DRUGS.pptx 60d7co Gurinder
sriramraja650
 
PPTX
Query and optimizing operating system.pptx
YoomifTube
 
PPTX
DOC-20250728-WAprocess releases large amounts of carbon dioxide (CO₂), sulfur...
samt56673
 
PPTX
atoma.pptxejejejejeejejjeejeejeju3u3u3u3
manthan912009
 
西班牙海牙认证瓦伦西亚国际大学毕业证与成绩单文凭复刻快速办理毕业证书
sw6vvn9s
 
Basics of Memristors and fundamentals.pptx
onterusmail
 
Drone.pptx this is the word like a good time to come over and watch the kids
MausamJha6
 
Boolean Algebra-Properties and Theorems.pptx
bhavanavarri5458
 
Top 10 Client Success Story_ The Buy Snapchat Account Experience.pdf
Telegram Accounts
 
2.Important-Definihhhhhhtions18 (1).pptx
trishalasharma7
 
Basics of Memristors from zero to hero.pptx
onterusmail
 
Endalamaw Kebede.pdfvvbhjjnhgggftygtttfgh
SirajudinAkmel1
 
L1-Intro.ppt nhfjkhghjjnnnmkkjhigtyhhjjj
MdKarimUllahEmon
 
Operating-Systems-A-Journey ( by information
parthbhanushali307
 
Boolean Algebra-Properties and Theorems.pptx
bhavanavarri5458
 
cocomo-220726173706-141e08f0.tyuiuuupptx
DharaniMani4
 
13. ANAESTHETICS AND ALCOHOLS.pptx fucking
sriramraja650
 
Susunan & Bagian DRAWING 153UWYHSGDGH.ppt
RezaFbriadi
 
English grade 10 st augusitne eoeoknkklm
zeropoint101109
 
Disorders of the anterior horn cells.pptx
PraveenKumarEnduri
 
22. PSYCHOTOGENIC DRUGS.pptx 60d7co Gurinder
sriramraja650
 
Query and optimizing operating system.pptx
YoomifTube
 
DOC-20250728-WAprocess releases large amounts of carbon dioxide (CO₂), sulfur...
samt56673
 
atoma.pptxejejejejeejejjeejeejeju3u3u3u3
manthan912009
 

POLYNOMIAL ADDITION USING LINKED LIST.pptx

  • 2.  Polynomial: It is a mathematical expression consisting of one or more terms .  Ex: 3x^2 - 16y, 4x^3 + 2x - 1  Linked list: It is a linear data structure that consists of connected nodes. Each node is used to store the data and also the address of next node.  Ex:
  • 3.  Let’s say we have two polynomials 3x^2 + 29x + 1……….(i) 5x^2 - x + 2………...(ii)  Addition of two polynomials involves combining like terms present in the two polynomials (adding terms of same variable and same exponents).
  • 4.  Adding equation (i) & (ii) 3x^2 + 2x + 1 3x^2 & 5x^2 are 5x^2 – x + 2 like terms. Similarly, x & 2x 8x^2 + x + 3 are like terms.  Addition of two polynomials become easier if terms are arranged in descending order.
  • 5.  We have two polynomials to add. 5x^6 + 6x^4 + 2x^3 8x^6 + 3x^2 + 4x + 5  Let’s represent above polynomials using linked list.
  • 6.  Adding two polynomials means adding their like terms. So, now we will compare their exponents. 5x^6 + 6x^4 + 2x^3 (Polynomial 1) 8x^6 + 3x^2 + 4x + 5 (Polynomial 2) 13x^6 + 6x^4 + 2x^3 + 3x^2 + 4x +5
  • 7.  In a linked list representation the addition operation is easier to perform because the two polynomials represented by linked list are arranged in descending order.
  • 8.  It saves lot of space.  There is no need to allocate list size. DISADVANTAGES OF USING LINKED LIST:  Cannot go backwards through the list.  Cannot jump to the beginning of the list from the end.