Available question text
Partition a connected weighted graph by removing edges so you have at most k components and the cost (max edge weight) of each component is minimized. This reduces to finding the smallest threshold T such that keeping only edges with weight ≤ T yields ≤ k connected components — a monotonic predicate you can check with union-find and binary search over edge weights.
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 3613. Minimize Maximum Component Cost
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source