Design a GraphStore with Upsert, Connect, Disconnect, Outgoing, HasEdge and Automatic Reverse Edges
Design and implement an in-memory graph store GraphStore.
Data model:
GraphObject(id, properties): a node with key-value properties.Edge(sourceId, relation, targetId, properties): a direct...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
