Amazon Interview Question

data structure algorithm and coding

Interview Answer

Anonymous

Sep 30, 2021

I started with brute force approach and ended up with optimal approach