โ† Arista Networks questions
CodingReported in a candidate post, Aug 2021

Minimum length roof to cover k cars

Filed under Arista Networks

The question

Given an array of positions where cars are parked, find the minimum length of a roof required to cover at least k cars.

No write-up yet. Related questions below have one.

Related Arista Networks questions

Collected from public candidate posts and coding forums. Updated Nov 2026.