Available question text
Given a positive integer area, find integers L >= W with L * W = area that minimize the difference L - W; equivalently return the factor pair closest to sqrt(area). Constraint: 1 <= area <= 10^7.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 492. Construct the Rectangle
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source