Motadata interview question

give me optimal solution for perticuler code