Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/idelstak/water-towers-problem

If you have an input array where each element represents the height of one tower in a line of towers. And, the width of every tower is 1. It starts raining. How much water is collected between the towers? How much water is collected after evaporation?
https://github.com/idelstak/water-towers-problem

algorithms-and-data-structures java look-forward sweep

Last synced: about 1 month ago
JSON representation

If you have an input array where each element represents the height of one tower in a line of towers. And, the width of every tower is 1. It starts raining. How much water is collected between the towers? How much water is collected after evaporation?

Awesome Lists containing this project