Shell Interview Question

Around case study in first round