Freshworks Interview Question

Check whether string of brackets are balanced, "([])" is balanced "({]" is not balanced

Interview Answer

Anonymous

Dec 27, 2018

Use stack to solve this problem, calculate time complexity as well

7