Skip to content

Structs.sh 💻

Structs.sh Banner

DevSoc GitHub Issues License Last Commit

Looking to contribute? See the Contributing guide.

About

Structs.sh is an interactive data structure and algorithm visualiser and educational platform for computer science students.

Features

Algorithm Visualiser

Interactive animated visualisations of classic data structures and algorithms, including (but not limited to):

  • Linked Lists
  • Binary Search Trees
  • AVL Trees
  • Graphs (in progress!)

Landing page

Tree Visualiser

Visual Debugger

  • Debug and visualise data structures in your own C code.
  • Currently supports linked lists.

Linked List Debugger


Why Structs.sh?

Structs.sh aims to be a comprehensive educational resource for data structures and algorithms, developed by passionate computer science and engineering students at UNSW.

The project was inspired by Tactile-DS, a tutoring tool and reference implementation developed in 2020 for COMP2521.

Structs.sh exists to bridge the gap between a student's high-level understanding of computer science concepts and how those concepts translate into real code. It was started by students who felt there was a lack of tools that help build strong visual intuition for algorithmic thinking.

Building documentation

You can get a documentation server running locally as follows:

  • Clone the repo
  • Install uv
  • Run uv run mkdocs serve in the docs/ directory and visit the URL from the command output

You may need to change the port using the -a, --dev-addr option if there are any conflicts with the ports of the other running services.

An example is shown below:

› uv run mkdocs serve -a localhost:8080

INFO    -  Building documentation...
INFO    -  [macros] - No default module `main` found
INFO    -  [macros] - Config variables: ['extra', 'config', 'environment', 'plugin', 'git', 'repo_clone_url', 'github_team_url',
            'email', 'macros', 'filters', 'filters_builtin']
INFO    -  [macros] - Config macros: ['context', 'macros_info', 'now', 'fix_url']
INFO    -  [macros] - Config filters: ['pretty', 'relative_url']
INFO    -  Cleaning site directory
INFO    -  Documentation built in 0.17 seconds
INFO    -  [17:32:26] Watching paths for changes: 'docs', 'mkdocs.yml'
INFO    -  [17:32:26] Serving on http://localhost:8080/