Amazon Interview Question

asked to write a code of sliding window problem and then he asked some basic question on OOPs, OS,DBMS,Sql,