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
13 challenges matching your filters
Clear topic filter- Code AnalysisHard
Lifetime extension of temporary subobject binding
cppreferenceslifetimetemporary - Code AnalysisIntermediate
Range-for over returning-by-value container
cpprange-forlifetimecode-analysis - Code AnalysisHard
Lifetime extension of returned-by-value ref
cppreferenceslifetimetemporary - Code AnalysisHard
string_view elements dangle
cppstring_viewdanglinglifetime - Code AnalysisIntermediate
Dangling pointer to a local vector's data
dangling-pointervectorlifetime - Code AnalysisBeginner
initializer_list dangling output
initializer-listlifetimecode-analysis - Code AnalysisIntermediate
Coroutine Frame Dangling Reference
coroutineslifetimedebugging - Code AnalysisBeginner
initializer_list lifetime pitfall
initializer_listlifetimedangling - Multiple ChoiceHard
string_view as function parameter
cppstring_viewlifetimeapi-design - Multiple ChoiceIntermediate
string_view not null-terminated
cppstring_viewc-apilifetime - Multiple ChoiceBeginner
RAII core idea for exception safety
raiiexception-safetylifetime - Multiple ChoiceBeginner
initializer_list lifetime trap
initializer-listlifetimedangling - Multiple ChoiceHard
Coroutine Frame Lifetime and Destruction
coroutineslifetimecpp20
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.