https://practice.geeksforgeeks.org/problems/rearrange-linked-list-in-place/1/?category[]=Linked%20List&category[]=Linked%20List&problemStatus=unsolved&difficulty[]=0&page=1&query=category[]Linked%20ListproblemStatusunsolveddifficulty[]0page1category[]Linked%20List#
hello @laksh.rustagi12
split the list from middle.
reverse the second half and merge one by one