Can I know about inserting a node at the beginning, at middle,at end in linked lists | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can I know about inserting a node at the beginning, at middle,at end in linked lists

8th Sep 2020, 1:36 PM
Bhuvana sri
Bhuvana sri - avatar
3 Answers
+ 1
This can help you.. https://www.sololearn.com/learn/645/?ref=app To insert at middle you need to add counter variable or another pointer for previous node. and find that position, and make changes of pointer as previous->next to current and current->next to next->next. Difficulty level increases.. Hope it helps...
8th Sep 2020, 2:17 PM
Jayakrishna 🇮🇳
+ 1
I can't understand what you r saying can u please repeat?
8th Sep 2020, 1:59 PM
Bhuvana sri
Bhuvana sri - avatar
+ 1
The people visiting this forum expected a clarification, in which language your question was contextually related. You can specify that by adding a specific language name in the thread's tags above (where it says 'insert delete'). I see from your profile that you are learning multiple languages, so it's hard to predict the context even for those who visits your profile to see what subjects you are currently on.
8th Sep 2020, 2:15 PM
Ipang