By [newSolution.py](https://github.com/LetMeFly666/LeetCode/blob/d78184c9ea08a4d9ae887a4105795d348fb48a8b/newSolution.py) using GH on MacOS | [778.水位上升的泳池中游泳](https://leetcode.cn/problems/swim-in-rising-water)