Amazon interview question

2 DSA question, one with DP and another Trees

Interview Answer

Anonymous

12 Oct 2024

Solved 1st one, didnt have time for 2nd

1