Data Structures

Data Structures are a way to organize information

What are Data Structures? 🗃️

Data Structures are a way to organize, access, search, add, remove & store information.

Day 1 of Kindergarten

Lets Go Back to Kindergarten🎒

Primitives: The simplest type of data

  • learning the ABCs and the 123s 👶

  • The basic building blocks 🧱

Array: is an ordered list

  • Creating a line 🍔 🚶 🚶‍♀️ 🚶‍♂️

  • Shopping list 🛒

Dictionaries: is a collection of key value pairs

  • Storing packed lunches in a classroom 🗝️ 📥 📤

Linked List: is a linear list

  • Counting to 10 ☝️ ✌️ 🤟

Tree: is data in a hierarchical tree structure

  • Finding events in the calendar 📆

    • Year -> Month -> Day

Network: is a collection of connected things

  • Teacher student interactions & behavior 👥

Last updated

Was this helpful?