Minimum Distance Between Two Nodes Leetcode Sql Certification