InterviewBit Problems   Rain Water Trapped : Solved

About the Rain Water Trapped : Solved category (1)
Python 3(Solution) O(n) Using Stack (1)
Python code in O(n) (1)
Without using stack in C++ (1)
Bolae to jhakaashh bhai log (1)
2 - JAVA Solution - Time = O(n) and with O(n) and with O(1) extra space (1)
Most Easy python O(n) (1)
Most easy Python O(n) solution (1)
Using stack O(n) (1)
Java Solution: O(2n) Space and O(3n) time (1)
Simple Rain Water Trapped C++ Solution (1)
O(n) time and o(1) space , short+easy (1)
Easy readable solution in O(n) space and O(n) running time with idea highlighted (1)
O(n) solution using deque and flag variable. Comment if you have any doubt. Simple logic (1)
Short Code, Cpp, 2 Vectors (1)
Easy O(n) readable solution (1)
Java tricky soln easy (1)
A very easy c++ solution (1)
Solution using two pointers (1)
Very Easy Genralised Approach! (1)
Best solution with visual understanding (1)
Another solution! (1)
O(n) without stack Java (1)
C++ Approach, without Stacks or Queues Data Structure (1)
DP Solution - C++ (1)
Easiest stack solution (1)
Can someone tell me what's wrong here? I'm getting different answer for some test cases (1)
Aa very easy and intutive DP solution (1)
Very Easy Cpp Solution (1)
C++ solution with stacks (2)