← Walmart questions
CodingMediumReported in a candidate post, Oct 2024

Package Distribution with minimum cost

Filed under Walmart

You are given N houses, each with an associated delivery cost. Some pairs of houses are connected. Delivering a package to any house within a connected component ensures all houses in that component…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Walmart questions

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