Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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?
- Host: GitHub
- URL: https://github.com/idelstak/water-towers-problem
- Owner: IdelsTak
- Created: 2021-08-21T08:49:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-21T10:58:32.000Z (over 3 years ago)
- Last Synced: 2023-03-04T18:47:59.790Z (almost 2 years ago)
- Topics: algorithms-and-data-structures, java, look-forward, sweep
- Language: Java
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0