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
1,344 challenges matching your filters
- Code AnalysisHard
Unsigned Underflow
code-analysisClanguage - Code AnalysisHard
XOR Swap Same
code-analysisClanguage - Code AnalysisHard
Dangling string_view from temporary
cppstring_viewdanglingcode-analysis - Code AnalysisHard
Pessimizing std::move on return
cppmove-semanticsrvoanti-pattern - Code AnalysisHard
shared_ptr reference cycle
cppsmart-pointersshared_ptrmemory-leak - Code AnalysisHard
Cross-TU static init order
cppstatic-initodrundefined-behavior - Code AnalysisHard
Lifetime extension of temporary subobject binding
cppreferenceslifetimetemporary - Code AnalysisHard
Missing std::forward loses rvalueness
cpptemplatesperfect-forwardingstd-forward - Code AnalysisHard
Exception-unsafe member update
cppexception-safetycode-analysis - Code AnalysisHard
static_cast vs dynamic_cast downcast
cppcastingundefined-behaviorcode-analysis - Code AnalysisHard
Relaxed store publish bug
cppatomicsmemory-ordercode-analysis - Code AnalysisHard
initializer_list in emplace_back
cppstlemplacebraced-init - Code AnalysisHard
Self-deadlock non-recursive mutex
cppthreadingmutexdeadlock - Code AnalysisHard
Lifetime extension of returned-by-value ref
cppreferenceslifetimetemporary - Code AnalysisHard
Lambda in loop capturing by reference
cpplambdacapturegotcha - Code AnalysisHard
string_view elements dangle
cppstring_viewdanglinglifetime - Code AnalysisHard
Header function missing inline
cppodrinlinelinker - Code AnalysisHard
weak_ptr use_count check is racy
cppsmart-pointersweak_ptrthread-safety - Code AnalysisHard
Forwarding reference deduction
cpptemplatesforwarding-referencecode-analysis - Code AnalysisHard
decltype(auto) vs auto
cppautodecltypetype-deduction - Code AnalysisHard
Use-after-move of a std::string argument
use-after-movestringrvalue - Code AnalysisHard
Strict aliasing violation through reinterpret_cast
strict-aliasingreinterpret-castub - Code AnalysisHard
Uninitialized read causing sanitizer failure
uninitializedsanitizerub - Code AnalysisHard
Condition variable lost wakeup with a missing lock
condition-variableracelost-wakeup - Code AnalysisHard
seqlock torn read output
seqlockdata-racecode-analysis - Code AnalysisHard
ADL swap recursion output
ADLname-lookupcode-analysis - Code AnalysisHard
friend injection capture output
friend-injectionmetaprogrammingcode-analysis - Code AnalysisHard
constexpr virtual dispatch output
constexprvirtualcode-analysis - Code AnalysisHard
dependent name template disambiguation output
two-phase-lookuptemplate-disambiguationcode-analysis - Code AnalysisHard
Lock-Free Stack ABA Root Cause
lock-freeabacas - Code AnalysisHard
Hazard Pointer Ordering Bug
hazard-pointersmemory-orderrace - Code AnalysisHard
Static Init Order Fiasco
static-initodrtranslation-unit - Code AnalysisHard
concept subsumption ordering
conceptssubsumptionoverload-resolution - Code AnalysisHard
False sharing counter struct
false-sharingcache-lineperformance - Code AnalysisHard
Reference dangling after vector realloc
dangling-referenceoperator[]UB - Code AnalysisHard
Broken comparator strict weak ordering
comparatorstrict-weak-orderingalgorithm - Code AnalysisHard
noexcept move prevents copy fallback
noexceptvectorreallocation - Code AnalysisHard
Custom hash specialization misuse
hashunordered_mapspecialization - Code AnalysisHard
Trace: Predictable Token
cybersecanalysishard - Code AnalysisHard
Trace: Insecure Deserialization
cybersecanalysishard - Code AnalysisHard
Trace: Timing-Safe Compare
cybersecanalysishard - Multiple ChoiceHard
CBC vs GCM
cybersechard - Multiple ChoiceHard
Certificate Signing Request
cybersechard - Multiple ChoiceHard
Diffie-Hellman
cybersechard - Multiple ChoiceHard
ECC
cybersechard - Multiple ChoiceHard
Entropy in Cryptography
cybersechard - Multiple ChoiceHard
Forward Secrecy
cybersechard - Multiple ChoiceHard
Avalanche Effect
cybersechard - Multiple ChoiceHard
HMAC
cybersechard - Multiple ChoiceHard
JWT Attacks
cybersechard - Multiple ChoiceHard
Key Derivation Function
cybersechard - Multiple ChoiceHard
Key Exchange Problem
cybersechard - Multiple ChoiceHard
Cryptographic Nonce
cybersechard - Multiple ChoiceHard
OCSP
cybersechard - Multiple ChoiceHard
Padding Oracle
cybersechard - Multiple ChoiceHard
Perfect Forward Secrecy
cybersechard - Multiple ChoiceHard
Quantum Computing Threat
cybersechard - Multiple ChoiceHard
Side-Channel Attack
cybersechard - Multiple ChoiceHard
CASB
cybersechard - Multiple ChoiceHard
Microsegmentation
cybersechard
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.