FINRA interview question

Q: Find out if brackets balanced.

Interview Answer

Anonymous

18 Aug 2022

Using a stack you can see if the brackets are balanced, i.e. for every opening bracket, there should be a closing bracket.