摘要: Question Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after 阅读全文
posted @ 2019-09-13 23:33 树獭君 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Question For an undirected graph with tree characteristics, we can choose any node as the root. The result graph is then a rooted tree. Among all poss 阅读全文
posted @ 2019-09-13 22:37 树獭君 阅读(320) 评论(0) 推荐(0) 编辑