Can you explain insertion at a specific position in DLL

Can you explain insertion at a specific position in DLL

Hey @amit0001 check this image


When we have to insert Ni before N3 and after N2 then we will first break link between N2 & N3 attach Ni in between like we used to do in single linked list. Rest is same.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.