If a stack is used by an algorithm to check for balanced braces, which of the following is true of a balanced braces string once the end of the string is reached?
a. the stack is empty
b. the stack has one “{”
c. the stack has one “}”
d. the stack has one “{” and one “}”
a. the stack is empty
Computer Science & Information Technology
You might also like to view...
Which item below is NOT part of the computer information processing cycle?
A) Processing B) Storage C) Information D) Output
Computer Science & Information Technology
Which of the following should Matt, a security technician, implement to identify untrusted certificates?
A. CA B. PKI C. CRL D. Recovery agent
Computer Science & Information Technology