Nth Gray Code — Coding Problem — CareerVerse