MCPcopy Create free account
hub / github.com/algorithm004-01/algorithm004-01 / trap1

Function trap1

Week 01/id_716/LeetCode_42_716.go:6–26  ·  view source on GitHub ↗

https://leetcode-cn.com/problems/trapping-rain-water 1. 暴力法,遍历找左右边界

(height []int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

maxFunction · 0.70
minFunction · 0.70

Tested by

no test coverage detected