Plum Interview Question

To write two programs in DS and algorithm round.