A is correct. Tested. Firstly 1000 is added (at the back), then 2000 is added to front, then 3000 is added to back and finally 4000 to front, so deque looks like 4000-2000-1000-3000 and remove and pop do the same thing which is take value from from of deque and those values are 4000 and 2000 which are printed.
This section is not available anymore. Please use the main Exam Page.1z0-809 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
pul26
Highly Voted 4 years agosteefaand
Most Recent 10 months, 4 weeks agoYasinGaber
2 years, 10 months agoSvetleto13
3 years, 7 months agoSigamani
3 years, 7 months agoSigamani
3 years, 7 months ago