Get the latest tech news

Data Structures Cheat Sheet


Introduction to data structures, offering examples of each structure and illustrating how they could be represented in Memgraph

If you have a larger graph that is harder to visualize and want to, for example, retrieve information about where does the node named C link to, you can achieve it with this query: A Queue is a linear data structure that is open at both ends and the operations are performed in First In First Out(FIFO) order. By running the following query, we’ll be able to visualize the newly created tree structure in Memgraph, shown in the image below.

Get the Android app

Or read this on Hacker News