Question d’entretien chez Freshworks

Write a program for paranthesis matching