Relink Odd Positions before Even Positions Stably
Company: Amazon
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Other
Overview: Relink Odd Positions before Even Positions Stably. Reorder the original singly linked nodes so positions 1,3,5,... come first, followed by positions 2,4,6,... . Preserve relative order within each group. Positio