SlideShare a Scribd company logo
1 of 2
Need help finishing this doubly linked list code.
Commented lines are what's needed, also add the following recursive methods:
findFirstNodeWithValue() and getDisplayString() that returns a string containing the strings in
the list separated by spaces
Code in C# language only, please.
internal class DoubleLinkedList {
public DoubleLinkedListNode? firstNode = null;
public DoubleLinkedListNode? lastNode = null;
public DoubleLinkedListNode? currentNode = null;
// other class level variables needed?
public DoubleLinkedList() {
// creates first node in list with firstValue
}
public DoubleLinkedList(string firstValue) {
// methods and features to add:
// get current node reference
// insert node before first
// delete first node
// insert node after last
// delete last node
// insert node after current - uses multiple methods
// delete current
// move current to next node
// move current to previous node
// recursive: find node with value - return reference or null
// recursive: get display string
}
}
/*******************************
* double Linked List Node - needs to be made generic
* class is incomplete
* *****************************/
internal class DoubleLinkedListNode {
public string? value = null;
public DoubleLinkedListNode? nextNode = null;
public DoubleLinkedListNode? previousNode = null;
public DoubleLinkedListNode(string v) {
value = v.ToLower();
}
private DoubleLinkedListNode() {
value = null;
}
}

More Related Content

Similar to Need help finishing this doubly linked list code- Commented lines are.docx

could you implement this function please, im having issues with it..pdf
could you implement this function please, im having issues with it..pdfcould you implement this function please, im having issues with it..pdf
could you implement this function please, im having issues with it..pdfferoz544
 
Using visual studio 2022- a C# windows form application- and your Doub.pdf
Using visual studio 2022- a C# windows form application- and your Doub.pdfUsing visual studio 2022- a C# windows form application- and your Doub.pdf
Using visual studio 2022- a C# windows form application- and your Doub.pdfacteleshoppe
 
C++ Doubly-Linked ListsThe goal of the exercise is to implement a.pdf
C++ Doubly-Linked ListsThe goal of the exercise is to implement a.pdfC++ Doubly-Linked ListsThe goal of the exercise is to implement a.pdf
C++ Doubly-Linked ListsThe goal of the exercise is to implement a.pdfpoblettesedanoree498
 
This assignment and the next (#5) involve design and development of a.pdf
This assignment and the next (#5) involve design and development of a.pdfThis assignment and the next (#5) involve design and development of a.pdf
This assignment and the next (#5) involve design and development of a.pdfEricvtJFraserr
 
Write a C++ function that delete nodes in a doubly linkedlist- It shou.docx
Write a C++ function that delete nodes in a doubly linkedlist- It shou.docxWrite a C++ function that delete nodes in a doubly linkedlist- It shou.docx
Write a C++ function that delete nodes in a doubly linkedlist- It shou.docxnoreendchesterton753
 
Need to be done in C Please Sorted number list implementation with.pdf
Need to be done in C  Please   Sorted number list implementation with.pdfNeed to be done in C  Please   Sorted number list implementation with.pdf
Need to be done in C Please Sorted number list implementation with.pdfaathmaproducts
 
C++ Background Circular Linked List A circular linked list.pdf
C++ Background Circular Linked List A circular linked list.pdfC++ Background Circular Linked List A circular linked list.pdf
C++ Background Circular Linked List A circular linked list.pdfsaradashata
 
write recursive function that calculates and returns the length of a.pdf
write recursive function that calculates and returns the length of a.pdfwrite recursive function that calculates and returns the length of a.pdf
write recursive function that calculates and returns the length of a.pdfarpitcomputronics
 
Assignment isPage 349-350 #4 and #5 Use the Linked List lab.pdf
Assignment isPage 349-350 #4 and #5 Use the Linked List lab.pdfAssignment isPage 349-350 #4 and #5 Use the Linked List lab.pdf
Assignment isPage 349-350 #4 and #5 Use the Linked List lab.pdffortmdu
 
Need to be done in C++ Please Sorted number list implementation wit.pdf
Need to be done in C++  Please   Sorted number list implementation wit.pdfNeed to be done in C++  Please   Sorted number list implementation wit.pdf
Need to be done in C++ Please Sorted number list implementation wit.pdfaathiauto
 
Abstract Base Class and Polymorphism in C++
Abstract Base Class and Polymorphism in C++Abstract Base Class and Polymorphism in C++
Abstract Base Class and Polymorphism in C++Liju Thomas
 
Background Circular Linked List A circular linked list is .pdf
Background Circular Linked List A circular linked list is .pdfBackground Circular Linked List A circular linked list is .pdf
Background Circular Linked List A circular linked list is .pdfaaseletronics2013
 
Need Help!! C++ #include-iostream- #include-linkedlist-h- using namesp.pdf
Need Help!! C++ #include-iostream- #include-linkedlist-h- using namesp.pdfNeed Help!! C++ #include-iostream- #include-linkedlist-h- using namesp.pdf
Need Help!! C++ #include-iostream- #include-linkedlist-h- using namesp.pdfEdwardw5nSlaterl
 
Write a program to implement below operations with both singly and d.pdf
Write a program to implement below operations with both singly and d.pdfWrite a program to implement below operations with both singly and d.pdf
Write a program to implement below operations with both singly and d.pdfthangarajarivukadal
 

Similar to Need help finishing this doubly linked list code- Commented lines are.docx (20)

could you implement this function please, im having issues with it..pdf
could you implement this function please, im having issues with it..pdfcould you implement this function please, im having issues with it..pdf
could you implement this function please, im having issues with it..pdf
 
Using visual studio 2022- a C# windows form application- and your Doub.pdf
Using visual studio 2022- a C# windows form application- and your Doub.pdfUsing visual studio 2022- a C# windows form application- and your Doub.pdf
Using visual studio 2022- a C# windows form application- and your Doub.pdf
 
C++ Doubly-Linked ListsThe goal of the exercise is to implement a.pdf
C++ Doubly-Linked ListsThe goal of the exercise is to implement a.pdfC++ Doubly-Linked ListsThe goal of the exercise is to implement a.pdf
C++ Doubly-Linked ListsThe goal of the exercise is to implement a.pdf
 
Ruby Programming Assignment Help
Ruby Programming Assignment HelpRuby Programming Assignment Help
Ruby Programming Assignment Help
 
Ruby Programming Assignment Help
Ruby Programming Assignment HelpRuby Programming Assignment Help
Ruby Programming Assignment Help
 
This assignment and the next (#5) involve design and development of a.pdf
This assignment and the next (#5) involve design and development of a.pdfThis assignment and the next (#5) involve design and development of a.pdf
This assignment and the next (#5) involve design and development of a.pdf
 
Write a C++ function that delete nodes in a doubly linkedlist- It shou.docx
Write a C++ function that delete nodes in a doubly linkedlist- It shou.docxWrite a C++ function that delete nodes in a doubly linkedlist- It shou.docx
Write a C++ function that delete nodes in a doubly linkedlist- It shou.docx
 
Need to be done in C Please Sorted number list implementation with.pdf
Need to be done in C  Please   Sorted number list implementation with.pdfNeed to be done in C  Please   Sorted number list implementation with.pdf
Need to be done in C Please Sorted number list implementation with.pdf
 
C++ Background Circular Linked List A circular linked list.pdf
C++ Background Circular Linked List A circular linked list.pdfC++ Background Circular Linked List A circular linked list.pdf
C++ Background Circular Linked List A circular linked list.pdf
 
write recursive function that calculates and returns the length of a.pdf
write recursive function that calculates and returns the length of a.pdfwrite recursive function that calculates and returns the length of a.pdf
write recursive function that calculates and returns the length of a.pdf
 
Assignment isPage 349-350 #4 and #5 Use the Linked List lab.pdf
Assignment isPage 349-350 #4 and #5 Use the Linked List lab.pdfAssignment isPage 349-350 #4 and #5 Use the Linked List lab.pdf
Assignment isPage 349-350 #4 and #5 Use the Linked List lab.pdf
 
Need to be done in C++ Please Sorted number list implementation wit.pdf
Need to be done in C++  Please   Sorted number list implementation wit.pdfNeed to be done in C++  Please   Sorted number list implementation wit.pdf
Need to be done in C++ Please Sorted number list implementation wit.pdf
 
C Exam Help
C Exam Help C Exam Help
C Exam Help
 
Abstract Base Class and Polymorphism in C++
Abstract Base Class and Polymorphism in C++Abstract Base Class and Polymorphism in C++
Abstract Base Class and Polymorphism in C++
 
Csharp4 generics
Csharp4 genericsCsharp4 generics
Csharp4 generics
 
Background Circular Linked List A circular linked list is .pdf
Background Circular Linked List A circular linked list is .pdfBackground Circular Linked List A circular linked list is .pdf
Background Circular Linked List A circular linked list is .pdf
 
Notes(1).pptx
Notes(1).pptxNotes(1).pptx
Notes(1).pptx
 
C Homework Help
C Homework HelpC Homework Help
C Homework Help
 
Need Help!! C++ #include-iostream- #include-linkedlist-h- using namesp.pdf
Need Help!! C++ #include-iostream- #include-linkedlist-h- using namesp.pdfNeed Help!! C++ #include-iostream- #include-linkedlist-h- using namesp.pdf
Need Help!! C++ #include-iostream- #include-linkedlist-h- using namesp.pdf
 
Write a program to implement below operations with both singly and d.pdf
Write a program to implement below operations with both singly and d.pdfWrite a program to implement below operations with both singly and d.pdf
Write a program to implement below operations with both singly and d.pdf
 

More from Jason0x0Scottw

A company's stock price rose 3-4- in 2011 - and in 2012 - it increased.docx
A company's stock price rose 3-4- in 2011 - and in 2012 - it increased.docxA company's stock price rose 3-4- in 2011 - and in 2012 - it increased.docx
A company's stock price rose 3-4- in 2011 - and in 2012 - it increased.docxJason0x0Scottw
 
A company has the following- Dec- 1 Beginning inventory 15 units at $6.docx
A company has the following- Dec- 1 Beginning inventory 15 units at $6.docxA company has the following- Dec- 1 Beginning inventory 15 units at $6.docx
A company has the following- Dec- 1 Beginning inventory 15 units at $6.docxJason0x0Scottw
 
A company must perform a maintenance project consisting of seven activ.docx
A company must perform a maintenance project consisting of seven activ.docxA company must perform a maintenance project consisting of seven activ.docx
A company must perform a maintenance project consisting of seven activ.docxJason0x0Scottw
 
A company has paid out all its current and accumulated earnings a prof.docx
A company has paid out all its current and accumulated earnings a prof.docxA company has paid out all its current and accumulated earnings a prof.docx
A company has paid out all its current and accumulated earnings a prof.docxJason0x0Scottw
 
New Public Management- clearly provide the following- (1) establish th.docx
New Public Management- clearly provide the following- (1) establish th.docxNew Public Management- clearly provide the following- (1) establish th.docx
New Public Management- clearly provide the following- (1) establish th.docxJason0x0Scottw
 
New Corporation- a C corporation- had the following items for the curr.docx
New Corporation- a C corporation- had the following items for the curr.docxNew Corporation- a C corporation- had the following items for the curr.docx
New Corporation- a C corporation- had the following items for the curr.docxJason0x0Scottw
 
networking networking Which of the following Topologies are available.docx
networking networking Which of the following Topologies are available.docxnetworking networking Which of the following Topologies are available.docx
networking networking Which of the following Topologies are available.docxJason0x0Scottw
 
Neighborhood Effects 1- What is the neighborhood effect- 2- How to ide.docx
Neighborhood Effects 1- What is the neighborhood effect- 2- How to ide.docxNeighborhood Effects 1- What is the neighborhood effect- 2- How to ide.docx
Neighborhood Effects 1- What is the neighborhood effect- 2- How to ide.docxJason0x0Scottw
 
need help with filling out the results table!! ( provided pictures of.docx
need help with filling out the results table!!  ( provided pictures of.docxneed help with filling out the results table!!  ( provided pictures of.docx
need help with filling out the results table!! ( provided pictures of.docxJason0x0Scottw
 
need help with both please Methanogens are a group of archaea that ge.docx
need help with both please  Methanogens are a group of archaea that ge.docxneed help with both please  Methanogens are a group of archaea that ge.docx
need help with both please Methanogens are a group of archaea that ge.docxJason0x0Scottw
 
Need help getting past an error in C++! I have all my code pasted down.docx
Need help getting past an error in C++! I have all my code pasted down.docxNeed help getting past an error in C++! I have all my code pasted down.docx
Need help getting past an error in C++! I have all my code pasted down.docxJason0x0Scottw
 
Narrow visible light emission Below left is a familiar visible-light v.docx
Narrow visible light emission Below left is a familiar visible-light v.docxNarrow visible light emission Below left is a familiar visible-light v.docx
Narrow visible light emission Below left is a familiar visible-light v.docxJason0x0Scottw
 
Name the three major hormones produced by thyroid tissues and give spe.docx
Name the three major hormones produced by thyroid tissues and give spe.docxName the three major hormones produced by thyroid tissues and give spe.docx
Name the three major hormones produced by thyroid tissues and give spe.docxJason0x0Scottw
 
Name the type and tunics of blood vessels and the major tissue typers).docx
Name the type and tunics of blood vessels and the major tissue typers).docxName the type and tunics of blood vessels and the major tissue typers).docx
Name the type and tunics of blood vessels and the major tissue typers).docxJason0x0Scottw
 
name it Provide the names of Bone A and Bone D.docx
name it Provide the names of Bone A and Bone D.docxname it Provide the names of Bone A and Bone D.docx
name it Provide the names of Bone A and Bone D.docxJason0x0Scottw
 
name it Provide the name of Letter A - Letter B and Letter C Be sure t.docx
name it Provide the name of Letter A - Letter B and Letter C Be sure t.docxname it Provide the name of Letter A - Letter B and Letter C Be sure t.docx
name it Provide the name of Letter A - Letter B and Letter C Be sure t.docxJason0x0Scottw
 
Name and define each component of the preparedness cycle- What is a HV.docx
Name and define each component of the preparedness cycle- What is a HV.docxName and define each component of the preparedness cycle- What is a HV.docx
Name and define each component of the preparedness cycle- What is a HV.docxJason0x0Scottw
 
Myopia (nearsightedness) Rays focus in front of retina Concave lens co.docx
Myopia (nearsightedness) Rays focus in front of retina Concave lens co.docxMyopia (nearsightedness) Rays focus in front of retina Concave lens co.docx
Myopia (nearsightedness) Rays focus in front of retina Concave lens co.docxJason0x0Scottw
 
My daughter needs help with this please clear detail please would be h.docx
My daughter needs help with this please clear detail please would be h.docxMy daughter needs help with this please clear detail please would be h.docx
My daughter needs help with this please clear detail please would be h.docxJason0x0Scottw
 

More from Jason0x0Scottw (20)

A company's stock price rose 3-4- in 2011 - and in 2012 - it increased.docx
A company's stock price rose 3-4- in 2011 - and in 2012 - it increased.docxA company's stock price rose 3-4- in 2011 - and in 2012 - it increased.docx
A company's stock price rose 3-4- in 2011 - and in 2012 - it increased.docx
 
A company has the following- Dec- 1 Beginning inventory 15 units at $6.docx
A company has the following- Dec- 1 Beginning inventory 15 units at $6.docxA company has the following- Dec- 1 Beginning inventory 15 units at $6.docx
A company has the following- Dec- 1 Beginning inventory 15 units at $6.docx
 
A company must perform a maintenance project consisting of seven activ.docx
A company must perform a maintenance project consisting of seven activ.docxA company must perform a maintenance project consisting of seven activ.docx
A company must perform a maintenance project consisting of seven activ.docx
 
A company has paid out all its current and accumulated earnings a prof.docx
A company has paid out all its current and accumulated earnings a prof.docxA company has paid out all its current and accumulated earnings a prof.docx
A company has paid out all its current and accumulated earnings a prof.docx
 
New Public Management- clearly provide the following- (1) establish th.docx
New Public Management- clearly provide the following- (1) establish th.docxNew Public Management- clearly provide the following- (1) establish th.docx
New Public Management- clearly provide the following- (1) establish th.docx
 
New Corporation- a C corporation- had the following items for the curr.docx
New Corporation- a C corporation- had the following items for the curr.docxNew Corporation- a C corporation- had the following items for the curr.docx
New Corporation- a C corporation- had the following items for the curr.docx
 
networking networking Which of the following Topologies are available.docx
networking networking Which of the following Topologies are available.docxnetworking networking Which of the following Topologies are available.docx
networking networking Which of the following Topologies are available.docx
 
Neighborhood Effects 1- What is the neighborhood effect- 2- How to ide.docx
Neighborhood Effects 1- What is the neighborhood effect- 2- How to ide.docxNeighborhood Effects 1- What is the neighborhood effect- 2- How to ide.docx
Neighborhood Effects 1- What is the neighborhood effect- 2- How to ide.docx
 
need help with filling out the results table!! ( provided pictures of.docx
need help with filling out the results table!!  ( provided pictures of.docxneed help with filling out the results table!!  ( provided pictures of.docx
need help with filling out the results table!! ( provided pictures of.docx
 
need help with both please Methanogens are a group of archaea that ge.docx
need help with both please  Methanogens are a group of archaea that ge.docxneed help with both please  Methanogens are a group of archaea that ge.docx
need help with both please Methanogens are a group of archaea that ge.docx
 
Need help getting past an error in C++! I have all my code pasted down.docx
Need help getting past an error in C++! I have all my code pasted down.docxNeed help getting past an error in C++! I have all my code pasted down.docx
Need help getting past an error in C++! I have all my code pasted down.docx
 
Narrow visible light emission Below left is a familiar visible-light v.docx
Narrow visible light emission Below left is a familiar visible-light v.docxNarrow visible light emission Below left is a familiar visible-light v.docx
Narrow visible light emission Below left is a familiar visible-light v.docx
 
Name the three major hormones produced by thyroid tissues and give spe.docx
Name the three major hormones produced by thyroid tissues and give spe.docxName the three major hormones produced by thyroid tissues and give spe.docx
Name the three major hormones produced by thyroid tissues and give spe.docx
 
Name the type and tunics of blood vessels and the major tissue typers).docx
Name the type and tunics of blood vessels and the major tissue typers).docxName the type and tunics of blood vessels and the major tissue typers).docx
Name the type and tunics of blood vessels and the major tissue typers).docx
 
name it Provide the names of Bone A and Bone D.docx
name it Provide the names of Bone A and Bone D.docxname it Provide the names of Bone A and Bone D.docx
name it Provide the names of Bone A and Bone D.docx
 
name it Provide the name of Letter A - Letter B and Letter C Be sure t.docx
name it Provide the name of Letter A - Letter B and Letter C Be sure t.docxname it Provide the name of Letter A - Letter B and Letter C Be sure t.docx
name it Provide the name of Letter A - Letter B and Letter C Be sure t.docx
 
Name and define each component of the preparedness cycle- What is a HV.docx
Name and define each component of the preparedness cycle- What is a HV.docxName and define each component of the preparedness cycle- What is a HV.docx
Name and define each component of the preparedness cycle- What is a HV.docx
 
n-.docx
n-.docxn-.docx
n-.docx
 
Myopia (nearsightedness) Rays focus in front of retina Concave lens co.docx
Myopia (nearsightedness) Rays focus in front of retina Concave lens co.docxMyopia (nearsightedness) Rays focus in front of retina Concave lens co.docx
Myopia (nearsightedness) Rays focus in front of retina Concave lens co.docx
 
My daughter needs help with this please clear detail please would be h.docx
My daughter needs help with this please clear detail please would be h.docxMy daughter needs help with this please clear detail please would be h.docx
My daughter needs help with this please clear detail please would be h.docx
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 

Need help finishing this doubly linked list code- Commented lines are.docx

  • 1. Need help finishing this doubly linked list code. Commented lines are what's needed, also add the following recursive methods: findFirstNodeWithValue() and getDisplayString() that returns a string containing the strings in the list separated by spaces Code in C# language only, please. internal class DoubleLinkedList { public DoubleLinkedListNode? firstNode = null; public DoubleLinkedListNode? lastNode = null; public DoubleLinkedListNode? currentNode = null; // other class level variables needed? public DoubleLinkedList() { // creates first node in list with firstValue } public DoubleLinkedList(string firstValue) { // methods and features to add: // get current node reference // insert node before first // delete first node // insert node after last // delete last node // insert node after current - uses multiple methods // delete current // move current to next node // move current to previous node // recursive: find node with value - return reference or null // recursive: get display string } } /******************************* * double Linked List Node - needs to be made generic * class is incomplete * *****************************/ internal class DoubleLinkedListNode { public string? value = null; public DoubleLinkedListNode? nextNode = null; public DoubleLinkedListNode? previousNode = null; public DoubleLinkedListNode(string v) { value = v.ToLower(); }