CodingMedium
Insert node before given node and reverse linked list in K groups
Filed under SAP
The question
Write code to insert a node before a given node in a Linked List, and write code to reverse a linked list in groups of K.
No write-up yet. Related questions below have one.
Related SAP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.