IVP (India) interview question

In dsa Reverse the linkedlist