+1 vote
in Data Structures & Algorithms I by (110k points)
How many types of input characters are accepted by this algorithm?

(a) one

(b) two

(c) three

(d) four

My doubt is from Application of Stacks topic in section Application of Stacks of Data Structures & Algorithms I

The question was posed to me in a job interview.

1 Answer

+1 vote
by (408k points)
selected by
Best answer
Correct answer is (c) three

Explanation: Three kinds of input are accepted by this algorithm- numbers, operators and new line characters.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.