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
520 challenges matching your filters
Clear topic filter- 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
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.