One of the applications of a stack is to backtrack—that is, to retrace its steps. As an example, imagine we want to read a list of items, and each time we read a negative number we must backtrack and print the five numbers that come before the negative number and then discard the negative number. Show graphically representation for the following data. 1 2 3 4 5 -1 1 2 3 4 5 6 7 8 9 10 -2 11 12 -3 1 2 3 4 5
Answers
Answered by
1
Answer:
I HAVE NO COMPUTER SCIENCE PERIOD.........
Explanation:
PLZ FOLLOW AND MARK ME AS BRAIN LIST........
Similar questions
Social Sciences,
3 months ago
English,
3 months ago
English,
3 months ago
English,
7 months ago
Math,
7 months ago
Physics,
1 year ago
Physics,
1 year ago
India Languages,
1 year ago