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
10 challenges matching your filters
Clear topic filter- Code AnalysisBeginner
Missing virtual destructor deleted through base
virtual-destructorpolymorphismub - Code AnalysisHard
Strict aliasing violation through reinterpret_cast
strict-aliasingreinterpret-castub - Code AnalysisHard
Uninitialized read causing sanitizer failure
uninitializedsanitizerub - Code AnalysisBeginner
union Type Punning UB
uniontype-punningub - Code AnalysisIntermediate
Semaphore Release Overrun
semaphoreubcounters - Code AnalysisHard
Reference dangling after vector realloc
dangling-referenceoperator[]UB - Multiple ChoiceBeginner
Why a base class needs a virtual destructor
virtual-destructorpolymorphismub - Multiple ChoiceHard
Strict aliasing and type punning legality
strict-aliasingbit_castub - Multiple ChoiceIntermediate
Union Active Member UB
unionactive-memberub - Multiple ChoiceHard
Dangling reference from operator[]
dangling-referenceoperator[]UB
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.