Home / Engineering / Data Structure (DS) / Question
M
Q.) Consider the usual algorithm for determining whether a sequence of parentheses is balanced. Suppose that you run the algorithm on a sequence that contains 2 left parentheses and 3 right parentheses (in some order). The maximum number of parentheses that appear on the stack AT ANY ONE TIME during the computation?
Related MCQs on Data Structure (DS)
Q. A network can have only one source and one sink.
Q. A song being played on computer speaker is
Q. Absolute time ordering of all shared accesses matters in
Q. The highest noise margin is offered by
Q. The two phase locking protocol consists of
Discusssion
Login to discuss.