Return Smallest Key Leetcode Solutions