![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 21.05.2021 01:00 lelliott86
Points
We can use a stack to check whether a given string has balanced parentheses or not. If you see an opening parenthesis, push it into the stack. If you see a closing parenthesis, pop the top element (if exists) from the stack and check whether the popped element and the closing parenthesis are a matched pair. After you have dealt with all characters in the given string, it turns out that the stack is not empty. Which of the following will result in the non-empty stack?
a. (1+3)5+(6+8)3)
b. ((4+79(2+6)+8)"9
c. 14+5(8-2)(3+73)
d. 2+(3+6)*(6/5)
![ansver](/tpl/images/cats/User.png)
Answers: 2
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 23:30
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
![question](/tpl/images/cats/informatica.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:30
Which option allows you to view slides on the full computer screen?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 12:00
Using the list, you can select the number of photos that will appear on each slide. a. theme b. frame shape c. pictures in album d. picture layout
Answers: 1
You know the right answer?
Points
We can use a stack to check whether a given string has balanced parentheses or not. If you s...
Questions
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 03.06.2021 19:00
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 03.06.2021 19:00
![question](/tpl/images/cats/mat.png)
Mathematics, 03.06.2021 19:00
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 03.06.2021 19:00
![question](/tpl/images/cats/himiya.png)
Chemistry, 03.06.2021 19:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
History, 03.06.2021 19:00
![question](/tpl/images/cats/fizika.png)
Physics, 03.06.2021 19:00
![question](/tpl/images/cats/mat.png)
Mathematics, 03.06.2021 19:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 03.06.2021 19:00