Linked List Element Rearrangement

Company: Cisco_28thjuly

Difficulty: medium