Repository navigation
Linked Lists
Arighna Chakrabarty edited this page Jul 8, 2018
·
8 revisions
Here are some important questions on Linked Lists :--
-
Detect a loop in Linked List - Floyd's Cycle Finding Algorithm.
-
Sort a linked list that is sorted alternating ascending and descending orders
-
Clone a linked list with next and random pointer - Hashing Method
-
Clone a linked list with next and random pointer in O(1) space
-
Rearrange a LL such that the even and odd positioned nodes are together
-
Merge two sorted LLs such that the merged list is in reverse order