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
12 challenges matching your filters
Clear topic filter- Code AnalysisBeginner
Iterator invalidation in vector loop
cppstlvectoriterator-invalidation - 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 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 ChoiceBeginner
deque memory layout
cppstldeque - Multiple ChoiceBeginner
string SSO
cppstlstringsso - Multiple ChoiceBeginner
Emplace_back vs push_back
cppstlvectoremplace
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.