Undo-redo seems more at-home to me implemented as a stack. Simply initialize two stacks, one for undo and one for redo, then every time the user does something, push it onto the undo stack. If the...
Type: Posts; User: helloworld922
Undo-redo seems more at-home to me implemented as a stack. Simply initialize two stacks, one for undo and one for redo, then every time the user does something, push it onto the undo stack. If the...
listIterator in Linked Lists
You can't modify a linked list with and without an iterator at the same time. Once you modify a linked list, you need a new iterator (this of course doesn't count...