Question
If the elements "A", "B", "C" and "D" are placed in a stack and are removed one at a time, in what order will they be deleted?A. ABCDB. DCBAC. DCABD. ABDC
Step 1
A stack follows the Last-In-First-Out (LIFO) principle. This means that the last element added to the stack will be the first one to be removed. Show more…
Show all steps
Your feedback will help us improve your experience
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD