Question d’entretien chez TSMC

Explain your HackerRank problem-solving ideas.