Low Level Design, Object Oriented, Graph Data Structure, Hashmap, Interview Questions.
deleteEdge(self, srcNode:Node, dstNode:Node): # Delete an edge b/w 2 nodes if srcNode.uid in self.adj_list and \ dstNode.type in self.adj_list[srcNode.uid] and \ dstNode in self.adj_list[srcNode.uid][dstNode.type]: # Remove child and parent connections