← Microsoft questions

Reverse Alternate Quarters of Linked List

Filed under Microsoft

Given the head of a singly linked list, reverse every alternate quarter of the list's nodes. Specifically, partition the list into quarters by length, and reverse the elements within the 1st and 3rd…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.