🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Stack & Queue Quiz: all 8 questions

Stack & Queue Quiz · Question 3 of 8

What does this RPN expression evaluate to: ["2", "1", "+", "3", ""]?

What does this RPN expression evaluate to: ["2", "1", "+", "3", "*"]?

Answer & explanation

Correct answer: 9

2 1 + → 3; then 3 3 * → 9.

Can you get the rest right without peeking?

Take the timed Stack & Queue Quiz quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →