Google Coding Round 1

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-08-31Added By Anonymous
Source: Link

Company: Google
Role: unknown
Interview Stage: Coding Round
Location: unknown
Year: unknown

Original Post Content:

Given a list of [x, y] coordinates on a coordinate plane find the number of squares.

Clarifying question asked: Are the sides of the squares required to be parallel to x, y axis. To which the interviewer said yes. In the followup it was modified to make it not parallel to x/y axis but keep it a square.

Comments