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
20 challenges matching your filters
Clear topic filter- Code AnalysisBeginner
Iterator invalidation in vector loop
cppstlvectoriterator-invalidation - Code AnalysisIntermediate
unordered_map pointer survives rehash
cppstlunordered_mapiterator-invalidation - Code AnalysisIntermediate
Reference to vector element across growth
cppstlvectordangling - Code AnalysisBeginner
vector<bool> auto deduction
cppstlvector-boolauto - Code AnalysisBeginner
reserve prevents reallocation
cppstlvectorreserve - Code AnalysisBeginner
operator[] inserts default element
cppstlmapoperator-subscript - Code AnalysisBeginner
map::at vs operator[] on missing
cppstlmapcode-analysis - Code AnalysisHard
initializer_list in emplace_back
cppstlemplacebraced-init - Code AnalysisBeginner
Returning data() pointer of local vector
cppdanglingstlvector - Multiple ChoiceBeginner
vector reallocation invalidates iterators
cppstlvectoriterator-invalidation - Multiple ChoiceBeginner
vector reserve and pointer stability
cppstlvectoriterator-invalidation - Multiple ChoiceBeginner
unordered_map rehash pointer stability
cppstlunordered_mapiterator-invalidation - Multiple ChoiceIntermediate
map insert hint with end()
cppstlmaphint - Multiple ChoiceBeginner
deque memory layout
cppstldeque - Multiple ChoiceIntermediate
vector<bool> proxy reference
cppstlvector-boolproxy - Multiple ChoiceBeginner
string SSO
cppstlstringsso - Multiple ChoiceHard
COW string status
cppstlstringcow - Multiple ChoiceBeginner
Emplace_back vs push_back
cppstlvectoremplace - Multiple ChoiceIntermediate
optional value access errors
cppoptionalstl - Multiple ChoiceIntermediate
any heap allocation properties
cppanystlc++17
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.