Comment

Comment by dmoy

> In fact, down to two pointers, left and right, iterating over a list of heights to find how much rain water it can trap.

Ah haha I hate that question

It should be banned everywhere, oh well.

I once saw a physicist (not even a coder) give a really cool answer to it though, I wish I could remember it.

parent dmoy 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton