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
5,893 challenges total
- Multiple ChoiceIntermediate
[Nginx] Timeout Proxy WS connections
qanginxnginxqa - Multiple ChoiceIntermediate
[Nginx] Same location Proxy WS connections
qanginxnginxqa - Multiple ChoiceIntermediate
[Nginx] Buffering off Proxy WS connections
qanginxnginxqa - Multiple ChoiceBeginner
[Python] *args Variable argument handling
qapythonpythonqa - Multiple ChoiceBeginner
[Python] **kwargs Variable argument handling
qapythonpythonqa - Multiple ChoiceBeginner
[Python] Unpack to call Variable argument handling
qapythonpythonqa - Multiple ChoiceBeginner
[Python] Unpack list Variable argument handling
qapythonpythonqa - Multiple ChoiceBeginner
[Python] Order Variable argument handling
qapythonpythonqa - Multiple ChoiceHard
[Python] Event loop Single-thread cooperative multitasking
qapythonpythonqa - Multiple ChoiceHard
[Python] gather Single-thread cooperative multitasking
qapythonpythonqa - Multiple ChoiceHard
[Python] create_task Single-thread cooperative multitasking
qapythonpythonqa - Multiple ChoiceHard
[Python] Semaphore Single-thread cooperative multitasking
qapythonpythonqa - Multiple ChoiceHard
[Python] TaskGroup Single-thread cooperative multitasking
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] File open with statement for setup/teardown
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] Custom with statement for setup/teardown
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] @contextmanager with statement for setup/teardown
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] Multiple with statement for setup/teardown
qapythonpythonqa - Multiple ChoiceIntermediate
[Python] ExitStack with statement for setup/teardown
qapythonpythonqa - 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
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.