Given a linked list, swap every two adjacent nodes and return its head. The values in the list's nodes cannot be modified; only the nodes themselves may be changed.
Click Run to execute sample tests.