Waymo logoWaymo
Coding·45 minMembers

Two-Column Table: Place Divider to Minimize Total Height

Members only

Phone screen: a known total width must be split between two text columns. Given the words and the joint width budget, decide the divider position that minimizes the table's total height. Binary search...

SWE
binary-search
greedy
string-processing
medium
Frequency
Single report
Last asked
2025-11-14
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...