Tummee Interview Question

Problem on Array operation Problem on Map and Set