Explain memory representation of singly linked lists and Circular linked list.
Answers
Answered by
2
Answer:
Circular Linked List is a variation of Linked list in which the first element points to the last element and the last element points to the first element. Both Singly Linked List and Doubly Linked List can be made into a circular linked list.
Answered by
2
Answer:
Linked lists can be represented in memory by using two arrays respectively known as INFO and LINK, such that INFO[K] and LINK[K] contains information of element and next node address respectively. It indicates that the node of a list need not occupy adjacent elements in the array INFO and LINK.
Similar questions
Math,
3 months ago
Science,
3 months ago
Math,
7 months ago
Computer Science,
7 months ago
Social Sciences,
11 months ago
Chemistry,
11 months ago
English,
11 months ago