info@avatto.com
+91-9920808017
26. An item that is read as input can be either pushed to a stack and later popped and printed, or printed directly. Which of the following will be the output if the input is the sequence of items 1, 2, 3, 4, 5?
3, 4, 5, 1, 2
3, 4, 5, 2, 1
1, 5, 2, 3, 4
5, 4, 3, 1, 2
You must be logged in to post a comment.
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login
You must be logged in to post a comment.