摘要: Note: This solution is combined with Trie + Generialized Abbreviation: 1. Since it looks for smallest one, we need persist a string to find minimum le 阅读全文
posted @ 2017-10-13 17:24 keepshuatishuati 阅读(264) 评论(0) 推荐(0) 编辑
摘要: Note: The update height with MAX(current height, real height) is because how many water this block can held depends on all outside heights. Another th 阅读全文
posted @ 2017-10-13 15:34 keepshuatishuati 阅读(147) 评论(0) 推荐(0) 编辑