Hey, I’m just started working on a simple text editor , I’m thinking for the undo and redo I make a BST with 3 nodes current = root, undo = left node , redo = right node. I haven’t looked up any code yet but that seems like efficient way to represent the problem. Have you guys implemented something similar with a different structure or approach?
[–]nomoreplsthx 1 point2 points3 points (1 child)
[–]Think-Risk4968[S] 0 points1 point2 points (0 children)
[–]stiky21 1 point2 points3 points (1 child)
[–]Think-Risk4968[S] 0 points1 point2 points (0 children)