InterviewBit Problems   Water Flow : Solved

About the Water Flow : Solved category (1)
Can anyone please tell me why is this code giving runtime error on the 1st example test case? (1)
Simple C++ dfs based soution (1)
Python 3 Graph BFS approach (1)
Simple and Logical Approach (1)
Opposite direction in description and example:incorrect description (2)
Cpp BFS Solution reverse traversal (1)
Easy c++ solution for water flow (1)
Java O(N) BFS Solution (1)
Solution using dfs (1)