Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Can engineers from Google or Facebook solve whiteboard questions easily?. Parent comment
The output for an index i was the product of the full input sequence excluding the element at i in the input.
The followup question was how do you do it in linear time.
There are no comments on this comment yet.
The output for an index i was the product of the full input sequence excluding the element at i in the input.
The followup question was how do you do it in linear time.