leetcode/1753_path-with-minimum-effort/python3/solution.py