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