Beacon Gray Code Kth Value — Coding Problem — CareerVerse