What is linklist? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

What is linklist?

rohank27rohank27 Posts: 3Member
Can you please explain me singly and doubly linklist along with it's application??plz it's urgent......

Comments

  • Pelle-48Pelle-48 Posts: 43Member
    In a linked list every cell (or node) has a pointer to the next position in the list. It is easy do anything after one cell (like remove or add a cell) but difficult to do it before the cell.
    With a double linked list every cell have two pointers (on pointing before the cell and one after the cell). So now it is easy to do anything before the cell also.
    Application:
    Very simple like e-mails in a club or more complex like students at a University. The last are using structures so every cell has name, address, e-mail, date of birth, study results and so on....
Sign In or Register to comment.