>_barehands
Blog

Challenges

84 challenges — solve one in the browser and get graded on correctness and speed.

backtracking 6

backtracking, pruning, networking

backtrackingnetworkingscheduling
c go

backtracking, constraint satisfaction, configuration

backtrackingconfiguration
c go

backtracking, string matching, recursion

backtrackingstrings
c go

backtracking, topological sort, configuration

backtrackinggraphsconfiguration
c go

backtracking, constraint satisfaction, RBAC

backtrackinggraphsconfiguration
c go

backtracking, constraint satisfaction, networking

backtrackingnetworkingconfiguration
c go

caching 5

consistent hashing, virtual nodes, hash ring

cachingdistributed
LFU Cache hard

cache eviction, O(1) LFU, frequency buckets

cachingdata-structures
SIEVE Cache medium

cache eviction, doubly-linked list, SIEVE

cachingdata-structures

caching, background refresh, request coalescing, concurrency

cachingconcurrency
TTL Cache medium

sync.RWMutex, time.AfterFunc, Generics, Comparable

cachingconcurrency

concurrency 7

Batcher medium

generics, time.Timer, channels, graceful shutdown

concurrencybatching

Generics, Goroutines, Channels, Context, Benchmarks

concurrencygenerics

Channels, Goroutines, Generics, Context

concurrencychannels

sync.RWMutex, Channels, Goroutines, Generics

concurrencypub-sub

Channels, time.Ticker, Context

concurrencyrate-limiting

Generics, Context, time.Timer, Exponential backoff

concurrencyresilience
Singleflight medium

sync.Mutex, sync.WaitGroup, Goroutines, Generics

concurrencydeduplication

crypto 2

symmetric encryption, AEAD, AES-GCM, nonces

cryptoencryption

RSA, RS256, JWT, JWKS, key rotation, asymmetric crypto

cryptoauthjwt

data-structures 14

data structures, heaps, implicit trees

data-structuresc
c
Bitset medium

bit manipulation, popcount, fixed-size set

data-structuresc
c
Bloom Filter medium

probabilistic data structures, bit manipulation, hashing

data-structuresc
c

B-tree, balanced search tree, ordered map, range scan

data-structurestrees

data structures, prefix sums, bit manipulation

data-structuresc
c

hash table, open addressing, linear probing, tombstones

data-structuresc
c

intervals, binary search, ordered index, overlap queries

data-structuressearch

intrusive data structures, doubly-linked list, container_of

data-structuresc
c
LRU Cache medium

doubly-linked list, hash map, generics, O(1) eviction

data-structurescaching

LSM-tree, memtable, tombstones, k-way merge, compaction

data-structuresstorage
Ring Buffer medium

ring buffer, FIFO queue, fixed-capacity, no allocation

data-structuresc
c
Skip List medium

skip list, probabilistic ordered map, range scan

data-structurestrees

data structures, strings, prefix trees

data-structuresc
c

data structures, union-find, amortized analysis

data-structuresc
c

encoding 8

bit manipulation, encoding

encodingc
c

bit manipulation, encoding, RFC 4648

encodingc
c

bit manipulation, serialization, codecs

encodingc
c

bit manipulation, checksums, polynomials

encodingc
c
Hex Codec easy

bit manipulation, encoding

encodingc
c

compression, encoding

encodingc
c

bit manipulation, encoding, Unicode

encodingc
c

variable-length integers, bit manipulation, encoding

encodingc
c

graphs 8

graphs, BFS, resilience

graphsresilience

graphs, chain walk, loop detection

graphsnetworking

graphs, DFS, cycle detection, gateway configuration

graphsconfiguration

graphs, topological sort, orchestration

graphsorchestration

graphs, DFS, cycle detection, authorization

graphsauthorization

graphs, DFS, observability, trace analysis

graphsobservability

graphs, BFS, concurrency, worker pool, visited dedup

graphsconcurrency

graphs, topological sort, concurrency, worker pool

graphsconcurrency

leetcode 5

search, algorithms

leetcodesearchalgorithms

strings, hash map

leetcodestringshash-map

dynamic programming, array

leetcodedynamic-programmingarray
Two Sum easy

Array, Hash Map

leetcodearrayhash-map

stack, strings

leetcodestackstrings

memory 3

bump allocator, alignment, memory management

memoryc
c

allocator, malloc/free, block splitting, coalescing

memoryc
c

allocators, free lists, fixed-size objects

memoryc
c

networking 18

stream framing, length-prefix protocol, partial reads

networkingprotocols

wire-protocol parsing, RESP, in-memory store

networkingprotocols

State machine, sync.Mutex, time, error handling

networkingresilience

Channels, Generics, io.Closer, Context

networkingconcurrency

http.Server, context, connection draining, high availability

networkinghttp

gRPC, interceptors, middleware composition

networkinggrpc
go

http.RoundTripper, http.Client, context, backoff

networkinghttpresilience

HMAC-SHA256, base64url, JSON, HTTP middleware, context

networkingauthjwt

TCP, line protocol, concurrency, graceful drain

networkingtcp

HTTP middleware, ResponseWriter wrapping, atomics, RED metrics

networkingobservability

http.Handler, http.HandlerFunc, function composition

networkinghttp

crypto/tls, crypto/x509, certificate chains, mutual TLS

networkingcryptotls
go

Redis (INCR/EXPIRE), distributed rate limiting, go-redis

networkingrate-limitingredis
go
Request Queue medium

bounded channels, backpressure, graceful shutdown, generics

networkingbackpressure

httputil.ReverseProxy, round-robin, health checks, atomics

networkingload-balancing

Server-Sent Events, http.Flusher, streaming, context cancellation, token metering

networkingstreamingsse
go

net.Listen, goroutines, io.Copy, context, SetDeadline

networkingtcp

HTTP Upgrade, frame format, masking, ping/pong

networkingwebsocket
go

numeric 1

numeric algorithms, strings, carries

numericc
c

parsing 2

parsing, state machines, zero-copy

parsingc
c

stacks, parsing, expression evaluation

parsingc
c

profiling 2

Go memory model, -race detector, sync.Mutex, sync/atomic

profilingconcurrency
go go-only by design ⓘ

go tool pprof, CPU profiling, memory profiling, Go runtime/GC

profilingperformance
go go-only by design ⓘ

scheduling 1

backtracking, constraint satisfaction, scheduling

schedulingbacktracking
c go

strings 2

dynamic programming, strings

stringsc
c

strings, algorithms, the failure function

stringsc
c