Available question text
Given an undirected graph, find all connected trios (triangles) and compute each trio's degree — the number of edges with one endpoint in the trio and the other outside — then return the minimum such degree or -1 if no trio exists. The core challenge is efficiently enumerating triangles and counting their external edges (n ≤ 400 makes triangle enumeration via adjacency checks feasible).
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 1761. Minimum Degree of a Connected Trio in a Graph
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source