You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,9 @@ Interviews
30
30
* A *Linked List* is a linear collection of data elements, called nodes, each
31
31
pointing to the next node by means of a pointer. It is a data structure
32
32
consisting of a group of nodes which together represent a sequence.
33
-
***Singly-linked list**: linked list in which nodes have pointers to the next node and the last node point to null
34
-
***Doubly-linked list**: linked list in which nodes have two pointers which points to *both*the previous node and the next node
35
-
***Circular-linked list**: linked list in which nodes have pointers to the next node and the last node points again to the head
33
+
***Singly-linked list**: linked list in which each node points to the next node and the last node points to null
34
+
***Doubly-linked list**: linked list in which each node has two pointers p, n such that p points to the previous node and n points to the next node; the last node's n pointer points to null
35
+
***Circular-linked list**: linked list in which each node points to the next node and the last node points back to the first node
0 commit comments