Determine whether a given string of parentheses (multiple types) is properly nested
Task description: Determine whether a given string of parentheses (multiple types) is properly nested. More details are given below. A string S consisting of N characters is considered to be properly nested if any of the following …