Low Level Design, Object Oriented, Graph Data Structure, Hashmap, Interview Questions.
seller_id): # Add seller node try: node = Node(seller_id, "SELLER", {}) self.nodes[node.uid] = node except Exception as e: print("Error: ", e) def addCategory(self, cat_id): # Add category node try: node = Node(cat_id, "CATEGORY", {}) self.nodes[node.uid] = node except Exception as e: print("Error: