Flip a Chain of Nodes — Coding Problem — CareerVerse