Computer Science, asked by vtu13512, 7 months ago

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 muddassir47
1

Answer:

I HAVE NO COMPUTER SCIENCE PERIOD.........

Explanation:

PLZ FOLLOW AND MARK ME AS BRAIN LIST........

Similar questions