Find a Horizontal Cut That Bisects Rectangle Area

Read the full interview experience this question came from →

Quick Overview

Solve a computational-geometry problem that asks for the horizontal line dividing the combined area of many disjoint rectangles in half. The exercise emphasizes numerical precision, large coordinate ranges, performance at 200,000 rectangles, and careful treatment of partially intersected shapes.

Find a Horizontal Cut That Bisects Rectangle Area

Company: Google

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: Solve a computational-geometry problem that asks for the horizontal line dividing the combined area of many disjoint rectangles in half. The exercise emphasizes numerical precision, large coordinate ranges, performance at 200,000 rectangles, and careful treatment of partially intersected shapes.

Read the full Google Software Engineer interview experience this question came from

|Home/Coding & Algorithms/Google
Google logo
Google
Jun 4, 2026
mediumSoftware EngineerTechnical ScreenCoding & Algorithms
22
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...