Challenge Library
Coding Challenges
5,893 curated questions across every arena — browse by topic, then jump into a live 2-minute battle to put them to the test.
Filter by type
Filter by difficulty
Popular topics
4,318 challenges matching your filters
- Multiple ChoiceBeginner
[Python] @dataclass Auto __init__, __repr__, __eq__
qapythonpythonqa - Multiple ChoiceBeginner
[Python] field() Auto __init__, __repr__, __eq__
qapythonpythonqa - Multiple ChoiceBeginner
[Python] frozen Auto __init__, __repr__, __eq__
qapythonpythonqa - Multiple ChoiceBeginner
[Python] __post_init__ Auto __init__, __repr__, __eq__
qapythonpythonqa - Multiple ChoiceBeginner
[Python] Order Auto __init__, __repr__, __eq__
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] Basic @name wraps function
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] With args @name wraps function
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] Multiple @name wraps function
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] wraps @name wraps function
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] lru_cache @name wraps function
qapythonpythonqa - Multiple ChoiceBeginner
[Python] Basic Inline expression formatting
qapythonpythonqa - Multiple ChoiceBeginner
[Python] Format spec Inline expression formatting
qapythonpythonqa - Multiple ChoiceBeginner
[Python] Debug Inline expression formatting
qapythonpythonqa - Multiple ChoiceBeginner
[Python] Date Inline expression formatting
qapythonpythonqa - Multiple ChoiceBeginner
[Python] Multi-line Inline expression formatting
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] yield Lazy iteration with yield
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] yield from Lazy iteration with yield
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] Gen expression Lazy iteration with yield
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] send() Lazy iteration with yield
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] Close Lazy iteration with yield
qapythonpythonqa - Multiple ChoiceHard
[Python] Threads Global Interpreter Lock
qapythonpythonqa - Multiple ChoiceHard
[Python] I/O Global Interpreter Lock
qapythonpythonqa - Multiple ChoiceHard
[Python] multiprocessing Global Interpreter Lock
qapythonpythonqa - Multiple ChoiceHard
[Python] Free-threading Global Interpreter Lock
qapythonpythonqa - Multiple ChoiceHard
[Python] C extensions Global Interpreter Lock
qapythonpythonqa - Multiple ChoiceBeginner
[Python] Squares [expr for item in iterable]
qapythonpythonqa - Multiple ChoiceBeginner
[Python] Filter [expr for item in iterable]
qapythonpythonqa - Multiple ChoiceBeginner
[Python] Dict comp [expr for item in iterable]
qapythonpythonqa - Multiple ChoiceBeginner
[Python] vs generator [expr for item in iterable]
qapythonpythonqa - Multiple ChoiceBeginner
[Python] If-else [expr for item in iterable]
qapythonpythonqa - Multiple ChoiceHard
[Python] Basic Structural pattern matching
qapythonpythonqa - Multiple ChoiceHard
[Python] Guard Structural pattern matching
qapythonpythonqa - Multiple ChoiceHard
[Python] Sequence Structural pattern matching
qapythonpythonqa - Multiple ChoiceHard
[Python] Mapping Structural pattern matching
qapythonpythonqa - Multiple ChoiceHard
[Python] OR Structural pattern matching
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] Function def Static type annotations
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] Optional Static type annotations
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] Protocol Static type annotations
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] mypy Static type annotations
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] Generic Static type annotations
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] If guard Assign and use in expression
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] While loop Assign and use in expression
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] In comprehension Assign and use in expression
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] Python 3.8+ Assign and use in expression
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] Scope Assign and use in expression
qapythonpythonqa - Multiple ChoiceIntermediate
[React] createContext Avoid prop drilling
qareactreactqa - Multiple ChoiceIntermediate
[React] Provider Avoid prop drilling
qareactreactqa - Multiple ChoiceIntermediate
[React] useContext Avoid prop drilling
qareactreactqa - Multiple ChoiceIntermediate
[React] Re-render Avoid prop drilling
qareactreactqa - Multiple ChoiceIntermediate
[React] Split Avoid prop drilling
qareactreactqa - Multiple ChoiceIntermediate
[React] Top level Two key constraints
qareactreactqa - Multiple ChoiceIntermediate
[React] React functions Two key constraints
qareactreactqa - Multiple ChoiceIntermediate
[React] Custom hook prefix Two key constraints
qareactreactqa - Multiple ChoiceIntermediate
[React] Deps array Two key constraints
qareactreactqa - Multiple ChoiceIntermediate
[React] Ref for mutable Two key constraints
qareactreactqa - Multiple ChoiceBeginner
[React] Expressions JavaScript XML syntax
qareactreactqa - Multiple ChoiceBeginner
[React] Conditionals JavaScript XML syntax
qareactreactqa - Multiple ChoiceBeginner
[React] Fragments JavaScript XML syntax
qareactreactqa - Multiple ChoiceBeginner
[React] className JavaScript XML syntax
qareactreactqa - Multiple ChoiceBeginner
[React] Self-closing JavaScript XML syntax
qareactreactqa
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 — 2-minute matches, Elo ranking, and badge tiers on the line.