Interview Questions – Reverse Singly Linked List
Problem Given a singly linked list containing integer keys, write an algorithm to do in-place reverse of the Singly linked list(SLL). Example Given the following Singly linked list Constraints [1] All the keys are integers [2] 0 <= Singly Linked ListLen < 10000 Singly Linked List SLL basically an ordered list where each node contains…