Lattice Points on a Circle

Company: Google_15oct

Difficulty: medium