Amazon balanced parentheses
A string is said to be balanced if it has as many opening brackets of a certain type as it has closing brackets of that type and if no bracket is unmatched. Write a function that wil l take a string as a parameter and return boolean if string is balanced. We will implement this using Swift 5.0How to connect Amazon Alexa to your Nest products. Use the Alexa app to select and enable the Google Nest Skill. Either tap on the button in your Alexa app to discover devices, or ask Alexa to discover your Nest products by saying, "Alexa, discover my devices." Amazon has more detailed instructions on their website, if you need them.