You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Teh logic behind the code is that we create a stack and put the char into the stack if it is a opening bracket.
//when the current index element is a closing bracket then we have to pop the stack element and check if the popped char is correct opening bracket match for the
//current found closing bracket if not then simply return false