Leetcode 778. Swim in Rising Water | Hello Interview