Terminals

Interactive terminal and editor based labs. Spin up real environments and learn by doing.

#go #concurrency #goroutines

Goroutine Gotchas

Spawn goroutines, watch them race and leak, then fix them with channels and mutexes.

lighthouse-labs/build-your-docker:go-v0.5
start terminal
#go #algorithms #hash-map

Group Anagrams

Group words by shared characters. Sort, hash, and think in keys.

lighthouse-labs/go:1.25
start terminal
#go #data-structures #linked-list

LRU Cache

Build a least-recently-used cache with O(1) get and put using a hash map and doubly linked list.

lighthouse-labs/go:1.25
start terminal
#go #algorithms #sorting

Merge Intervals

Sort intervals by start time and merge overlapping ranges into non-overlapping output.

lighthouse-labs/go:1.25
start terminal
#networking #linux #terminal

Networking Sandbox

A Linux terminal with networking tools pre-installed. Run tcpdump, traceroute, ip, dig, netcat, and more.

lighthouse-labs/networking-sandbox:v0.1
start terminal
#go #algorithms #graph #bfs

Number of Islands

Traverse a 2D grid, find connected land cells, and count distinct islands with BFS or DFS.

lighthouse-labs/go:1.25
start terminal
#os #processes #linux #terminal

OS Process Sandbox

A Linux terminal with process tools pre-installed. Explore /proc, run ps, pstree, strace, and compile C/Go/Rust examples from the book.

lighthouse-labs/os-process-sandbox:v0.1
start terminal