Low Level Design, Object Oriented, Graph Data Structure, Hashmap, Interview Questions.
Using graphs, we have to only deal with Nodes and Edges. Since we tag each edge with the type of destination node, thus it is pretty easy to delete a Product node because we already know which edges go out of a product node and which edges come to a product node (using parents). There are many