Count Squares from Points in the Plane
Company: 6Sense
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Overview: Implement `count_squares(points)`. Work through the function contract, boundary cases, correctness argument, and time and space complexity expected in a production-quality solution.