The Wayback Machine - https://web.archive.org/web/20220706085248/https://leetcode.com/problems/graph-connectivity-with-threshold/