Challenge Library
Coding Challenges
5,893 curated questions across every arena — browse by topic, then jump into a live 3-minute battle to put them to the test.
Filter by type
Filter by difficulty
Popular topics
16 challenges matching your filters
Clear topic filter- Code AnalysisIntermediate
volatile increment not atomic
cppatomicsvolatiledata-race - Code AnalysisHard
Relaxed store publish bug
cppatomicsmemory-ordercode-analysis - Code AnalysisIntermediate
Infinite loop optimized away
cppatomicsundefined-behavioroptimization - Code AnalysisIntermediate
Cross-thread visibility with a relaxed flag
memory-orderatomicsdata-race - Code AnalysisBeginner
relaxed store load reordering output
atomicsmemory-modelcode-analysis - Code AnalysisIntermediate
atomic double CAS loop output
atomicsfloating-pointcode-analysis - Multiple ChoiceIntermediate
atomic default memory order
cppatomicsmemory-modelmemory-order - Multiple ChoiceHard
relaxed atomic does not synchronize
cppatomicsmemory-orderdata-race - Multiple ChoiceHard
acquire-release pairing
cppatomicsmemory-orderacquire-release - Multiple ChoiceBeginner
std::atomic<bool> vs volatile
cppatomicsvolatilememory-model - Multiple ChoiceHard
compare_exchange_weak vs strong
cppatomicscompare-exchangecas - Multiple ChoiceHard
Why compare_exchange_weak is preferred in loops
atomicscaslock-free - Multiple ChoiceBeginner
memory_order_relaxed visibility
atomicsmemory-modelrelaxed - Multiple ChoiceIntermediate
std::atomic double operations
atomicsfloating-point - Multiple ChoiceIntermediate
Memory Fence Ordering Semantics
fencesmemory-orderatomics - Multiple ChoiceIntermediate
Double-Checked Locking with Atomics
dclpatomicssingleton
Practice now, dominate the arena
Every challenge here is drawn from the live Code Royale pool. Review a question, then head to the arena to answer under pressure against a real opponent — 3-minute matches, Elo ranking, and badge tiers on the line.