美文网首页
[LeetCode] 问题系列 - 水的问题

[LeetCode] 问题系列 - 水的问题

作者: YoungJadeStone | 来源:发表于2020-06-01 02:46 被阅读0次

    11 Container With Most Water

    https://leetcode.com/problems/container-with-most-water/
    two pointer

    42 Trapping Rain Water

    https://leetcode.com/problems/trapping-rain-water/
    two pointer

    365 Water and Jug Problem

    https://leetcode.com/problems/water-and-jug-problem/
    GCD (最小公倍数)

    407 Trapping Rain Water II

    https://leetcode.com/problems/trapping-rain-water-ii/
    BSF
    很好的解释:https://www.cnblogs.com/grandyang/p/5928987.html

    417 Pacific Atlantic Water Flow

    https://leetcode.com/problems/pacific-atlantic-water-flow/
    BFS/DFS

    778 Swim in Rising Water

    https://leetcode.com/problems/swim-in-rising-water/

    细节待补充。。。

    相关文章

      网友评论

          本文标题:[LeetCode] 问题系列 - 水的问题

          本文链接:https://www.haomeiwen.com/subject/huilzhtx.html