...

/

Challenge 2: Balance Parenthesis

Challenge 2: Balance Parenthesis

Given an array that contains opening and closing parentheses, check whether or not the opening and closing parentheses are balanced.

Problem Statement

Implement a function that takes an array testVariable containing opening ( and closing parenthesis ) and determines whether or not the brackets in the array are balanced. The function also takes startIndex = 0 and ...

Access this course and 1400+ top-rated courses and projects.