LeetCode Solution, Easy, 1629. Slowest Key