Files
go-learning/exercises/01-core/08-data-structures/README.md
T

11 lines
329 B
Markdown

# 08 — Struktury Danych (`Stack[T]`, `SafeCache[K, V]`)
## Zadania (`ds.go`)
1. `Stack[T]` — generyczny stos (`Push`, `Pop`, `Len`).
2. `SafeCache[K comparable, V any]` — thread-safe cache z `sync.RWMutex` (`Set`, `Get`, `Delete`).
## Uruchomienie testów
```bash
make test PKG=./exercises/01-core/08-data-structures
```