Detect squares on a 2D plane, including squares rotated at any angle.
Unlock detailed company stats for this questionUpgrade
Design a data structure that supports adding points on a 2D plane and counting the squares that can be formed with them. Squares can be rotated at any angle, not just axis-aligned.
Format · Google L4 onsite round.
Community answers
No answers contributed by the community yet.
Related courses

Course

Course
Course
