Minimum Water Tanks to Cover Houses

Asked at Palo Alto Networks · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026

Find the minimum number of water tanks to place on a street so that every house has a tank next to it.

Loading the problem…