Swap Nodes in Pairs <Medium>

Not a difficult problem but mistakable.
Generate Parentheses <Easy+>

A typical recursive problem.