ServiceNow Interview Question

Design round : Write a program to remove minimum number of incorrectly formed braces from a string and print it.

Interview Answer

Anonymous

Apr 6, 2020

Used stack to find all the incorrectly placed braces.