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 AnalysisBeginner
Iterator invalidation in vector loop
cppstlvectoriterator-invalidation - Code AnalysisIntermediate
Reference to vector element across growth
cppstlvectordangling - Code AnalysisBeginner
reserve prevents reallocation
cppstlvectorreserve - Code AnalysisIntermediate
vector uses copy when move may throw
cppexception-safetynoexceptvector - Code AnalysisBeginner
Returning data() pointer of local vector
cppdanglingstlvector - Code AnalysisIntermediate
Iterator invalidation while erasing in a vector loop
iterator-invalidationvectorerase - Code AnalysisIntermediate
Dangling pointer to a local vector's data
dangling-pointervectorlifetime - Code AnalysisBeginner
vector reallocation iterator invalidation
iterator-invalidationvectorreallocation - Code AnalysisHard
noexcept move prevents copy fallback
noexceptvectorreallocation - Multiple ChoiceBeginner
vector reallocation invalidates iterators
cppstlvectoriterator-invalidation - Multiple ChoiceBeginner
vector reserve and pointer stability
cppstlvectoriterator-invalidation - Multiple ChoiceBeginner
Emplace_back vs push_back
cppstlvectoremplace - Multiple ChoiceIntermediate
noexcept effect on move_if_noexcept
cppexception-safetyvectornoexcept - Multiple ChoiceIntermediate
snapshot ctor noexcept move vector
noexceptmove-semanticsvector - Multiple ChoiceHard
noexcept and vector reallocation
noexceptvectorreallocation - Multiple ChoiceIntermediate
Strong vs basic vs nothrow guarantee
exception-safetyvectorguarantees
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.