This repository contains short Go interview problems and reference implementations to help you practice common topics such as concurrency, synchronization, data structures, and the Go standard library.
- Concurrent Expiring Cache (TTL Cache)
- Concurrent Pub/Sub (In-Memory)
- Context-Aware Worker Pool
- Rate Limiter (API Gateway Style)
- Rate Limiter 2 (Alternative Implementation)
- Sharded Map
- Custom WaitGroup Implementation
- Custom Sync Once Implementation (Mutexes)
- Custom Sync Once Implementation 2 (Atomic)
Add new problems, improve explanations, or provide alternative solutions. Open a pull request with a short description of your changes.