In this solution: https://leetcode.com/problems/trapping-rain-water/solution/
can someone tell me how they wrote the "powerpoint slides" in approach 4?
edit: I have figured out alternative ways to accomplish more or less the same thing. Message me if you're interested.