Cyntexa Interview Question

In Dsa i face an array based standard tanker problem