Available question text
Select edges in a bipartite graph (given by a cost matrix) so every vertex in both groups is connected to at least one opposite vertex and the total cost is minimized. With sizes ≤12 and unlimited degree, this is typically solved by bitmask DP over the smaller group to track which second-group points are already covered.
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 1595. Minimum Cost to Connect Two Groups of Points
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source