Grid Diagonal Prime Peak — Coding Problem — CareerVerse