Rain drain

Job ID: 34986816

Budget: $30 – $250 SGD

Task:
Write a program in Python or C#, which outputs the amount of water flowing out of each rain drain. Describe your approach in a few sentences.
Choose appropriate data structures and determine its runtime complexity with respect to the number of rain drains N.