<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/for-those-who-had-a-hard-understanding-in-ds-0pxzpbdzi" -->

---
title: for those who had a hard understanding in DS | daily.dev
description: This guide provides an introduction to data structures and their representation in Memgraph. It explains the basics of graphs, linked lists, queues, stacks,...
canonical: https://daily.dev/posts/for-those-who-had-a-hard-understanding-in-ds-0pxzpbdzi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: for those who had a hard understanding in DS | daily.dev
og:description: This guide provides an introduction to data structures and their representation in Memgraph. It explains the basics of graphs, linked lists, queues, stacks,...
og:url: https://daily.dev/posts/for-those-who-had-a-hard-understanding-in-ds-0pxzpbdzi
og:image: https://api.daily.dev/og/posts/0pXzPBdZI.png
og:image:alt: for those who had a hard understanding in DS
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# for those who had a hard understanding in DS

**[Game Developers](https://daily.dev/sources/game_developers)** · [@eobilas](https://daily.dev/eobilas) · 24 upvotes · 0 comments

## Summary

This guide provides an introduction to data structures and their representation in Memgraph. It explains the basics of graphs, linked lists, queues, stacks, and trees, along with examples and queries to create these data structures using Memgraph. The document also discusses tree traversal algorithms like BFS and DFS and demonstrates how to run these algorithms in Memgraph.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://memgraph.com/blog/data-structures-cheat-sheet>

---

Tags: [#data-science](https://daily.dev/tags/data-science), [#computer-science](https://daily.dev/tags/computer-science), [#data-structures](https://daily.dev/tags/data-structures)

[View this post on daily.dev](https://daily.dev/posts/for-those-who-had-a-hard-understanding-in-ds-0pxzpbdzi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/for-those-who-had-a-hard-understanding-in-ds-0pxzpbdzi","headline":"for those who had a hard understanding in DS","text":"Shared: Data Structures Cheat Sheet","url":"https://daily.dev/posts/for-those-who-had-a-hard-understanding-in-ds-0pxzpbdzi","datePublished":"2024-08-29T03:34:18.123Z","dateModified":"2024-08-29T03:34:18.128Z","author":{"@type":"Person","name":"Gabriel Nunes","url":"https://daily.dev/eobilas","image":"https://avatars.githubusercontent.com/u/48297244?v=4","description":"technology enthusiast and happy ","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":80}},"image":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":24},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/l3U6wBi5B"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/game_developers","name":"Game Developers"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Game Developers","item":"https://daily.dev/squads/game_developers"},{"@type":"ListItem","position":3,"name":"for those who had a hard understanding in DS"}]}
```

