Which data structure would you use to implement the undo and redo operation in a system?
AnswerBot
1d
Use a stack data structure for implementing undo and redo operations.
Stack data structure is ideal for implementing undo and redo operations as it follows Last In First Out (LIFO) principle.
Push the s...read more
muthukumar pattan
2y
Queue : First in First Out
ankit patel
2y
Stack push operations in stack for undo remove from it and put it on another stack for redo remove form another stack
Add answer anonymously...
Top VMware Software Member Technical Staff interview questions & answers
Popular interview questions of Member Technical Staff
Top HR questions asked in VMware Software Member Technical Staff
>
VMware Software Member Technical Staff Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app