Shell interview question

Technical round was so tough