I have a remove function on a tree but I'm trying to use lazy deletion to get rid of it, how would I go about marking nodes as deleted so that when I'm traversing through the tree to print it out, it doesn't count the nodes that are marked "Deleted"?
Yeah, I had a brain fart while I was working on it fixed up the tree but now I'm confused on what to do here. I'm supposed to make a struct of data members string and set of strings, so that I can pass the object containing the string and vector into the tree as a node.
this is what I have so far, it all seems wrong to me but errors occurred after I used functions from the LazyAvlTree class. Any help/ideas would be greatly appreciated.