Amazon interview question

Both questions were medium LC array problems.

Interview Answer

Anonymous

10 Nov 2024

The first question was similar to the Product of Array Excpet Self problem on LC, so I used the same method. The second question I don't remember much but it was more complicated. Advice: don't spend too much time on one question, or trying to optimize your solution.