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
73 challenges matching your filters
Clear topic filter- Multiple ChoiceHard
Metaclass Definition
pythonhard - Multiple ChoiceHard
__new__ vs __init__
pythonhard - Multiple ChoiceHard
Singleton with __new__
pythonhard - Multiple ChoiceHard
Descriptor Protocol
pythonhard - Multiple ChoiceHard
property as Descriptor
pythonhard - Multiple ChoiceHard
contextvars Module
pythonhard - Multiple ChoiceHard
@singledispatch
pythonhard - Multiple ChoiceHard
__slots__ with Descriptors
pythonhard - Multiple ChoiceHard
Type Hints Overload
pythonhard - Multiple ChoiceHard
Runtime Protocol Check
pythonhard - Multiple ChoiceHard
__init_subclass__
pythonhard - Multiple ChoiceHard
Weak References for Caching
pythonhard - Multiple ChoiceHard
__prepare__ Method
pythonhard - Multiple ChoiceHard
Generics with TypeVar
pythonhard - Code AnalysisHard
Metaclass Instantiation
pythonhard - Code AnalysisHard
__new__ singleton
pythonhard - Code AnalysisHard
descriptor access
pythonhard - Code AnalysisHard
init_subclass
pythonhard - Code AnalysisHard
singledispatch
pythonhard - Code AnalysisHard
Trace: Late Binding Closure
pythonanalysishard - Multiple ChoiceHard
Coroutine vs Generator
pythonhard - Code AnalysisHard
Lock acquire
pythonhard - Multiple ChoiceHard
heapq Module
pythonhard - Code AnalysisHard
raise from
pythonhard - Multiple ChoiceHard
dis Module
pythonhard - Multiple ChoiceHard
weakref Module
pythonhard - Multiple ChoiceHard
__slots__ Memory
pythonhard - Multiple ChoiceHard
memoryview
pythonhard - Multiple ChoiceHard
PyObject Structure
pythonhard - Multiple ChoiceHard
__slots__ subclasses
pythonhard - Code AnalysisHard
weakref behavior
pythonhard - Code AnalysisHard
sys.getsizeof — Overhead
pythonhard - Multiple ChoiceHard
json Custom Encoder
pythonhard - Multiple ChoiceHard
Descriptors
pythonmcqhard - Multiple ChoiceHard
Python: The GIL
pythonmcqhard - Multiple ChoiceHard
Name Resolution: LEGB
pythonmcqhard - Multiple ChoiceHard
__hash__ and Mutability
pythonhard - Multiple ChoiceHard
__slots__ Purpose
pythonhard - Multiple ChoiceHard
Diamond Problem
pythonhard - Multiple ChoiceHard
mixins Pattern
pythonhard - Multiple ChoiceHard
Descriptors
pythonhard - Multiple ChoiceHard
Metaclass Basics
pythonhard - Code AnalysisHard
__slots__ inheritance
pythonhard - Multiple ChoiceHard
__slots__ Performance
pythonhard - Multiple ChoiceHard
ctypes/Extensions
pythonhard - Multiple ChoiceHard
PyPy vs CPython
pythonhard - Multiple ChoiceHard
Namespace Packages
pythonhard - Multiple ChoiceHard
tempfile Race Condition
pythonhard - Multiple ChoiceHard
typing.Protocol
pythonhard - Code AnalysisHard
typing Union
pythonhard - Code AnalysisHard
Literal type
pythonhard - Code AnalysisHard
Class Variable Shadow
code-analysisPythonlanguage - Code AnalysisHard
Decorator Order
code-analysisPythonlanguage - Code AnalysisHard
is vs == (int cache)
code-analysisPythonlanguage - Code AnalysisHard
Multiple Inheritance MRO
code-analysisPythonlanguage - Code AnalysisHard
Mutable Default Arg
code-analysisPythonlanguage - Code AnalysisHard
String Interning
code-analysisPythonlanguage - Code AnalysisHard
Walrus in Comprehension
code-analysisPythonlanguage - Multiple ChoiceHard
[Python] Event loop Single-thread cooperative multitasking
qapythonpythonqa - Multiple ChoiceHard
[Python] gather Single-thread cooperative multitasking
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.