Leetcode 1761. Minimum Degree of a Connected Trio in a Graph | Hello Interview