407. Trapping Rain Water II Thought Process

Описание к видео 407. Trapping Rain Water II Thought Process

pretty messy thought process but hope it is helpful to understand why would you use a heap and why heap works. Thanks!

https://github.com/jianershi/lintcode...

Комментарии

Информация по комментариям в разработке