Domanda di colloquio di Evolute Systems

How will I solve the problem , by giving one DSA QUESTION