Hello World
发表于
字数统计:
73
|
阅读时长 ≈
1
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hex
...
LeeCode 42.接雨水
LeeCode 【42.接雨水】题目描述 :
给定 n 个非负整数表示每个宽度为1 的主机的高度图,计算按此排列的主子,下雨之后能接多少雨水。
示例
输入: [0,1,0,2,1,0,1,3,2,1,2,1]
输出:6
思路 1
使
...