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
isinstance with Inheritance
pythonbeginner - Multiple ChoiceHard
Diamond Problem
pythonhard - Multiple ChoiceHard
mixins Pattern
pythonhard - Multiple ChoiceIntermediate
__call__ Method
pythonintermediate - Multiple ChoiceHard
Descriptors
pythonhard - Multiple ChoiceBeginner
Dunder Methods
pythonbeginner - Multiple ChoiceIntermediate
Dunder getitem (MCQ)
pythonintermediate - Multiple ChoiceIntermediate
Dunder iter
pythonintermediate - Multiple ChoiceBeginner
@staticmethod Usage
pythonbeginner - Multiple ChoiceHard
Metaclass Basics
pythonhard - Multiple ChoiceBeginner
object base class
pythonbeginner - Multiple ChoiceBeginner
hasattr builtin
pythonbeginner - Multiple ChoiceBeginner
getattr with Default
pythonbeginner - Multiple ChoiceIntermediate
timeit Module
pythonintermediate - Multiple ChoiceIntermediate
cProfile Usage
pythonintermediate - Multiple ChoiceIntermediate
List vs Set Lookup
pythonintermediate - Multiple ChoiceIntermediate
String Concatenation
pythonintermediate - Multiple ChoiceIntermediate
Generator vs List Memory
pythonintermediate - Multiple ChoiceIntermediate
Local vs Global Variables
pythonintermediate - Multiple ChoiceHard
__slots__ Performance
pythonhard - Multiple ChoiceIntermediate
list vs deque
pythonintermediate - Multiple ChoiceIntermediate
functools.lru_cache Performance
pythonintermediate - Multiple ChoiceHard
ctypes/Extensions
pythonhard - Multiple ChoiceHard
PyPy vs CPython
pythonhard - Multiple ChoiceIntermediate
array Module
pythonintermediate - Multiple ChoiceBeginner
import Statement
pythonbeginner - Multiple ChoiceBeginner
from import
pythonbeginner - Multiple ChoiceIntermediate
__init__.py purpose
pythonintermediate - Multiple ChoiceIntermediate
Absolute vs Relative Import
pythonintermediate - Multiple ChoiceBeginner
__name__ == '__main__'
pythonbeginner - Multiple ChoiceBeginner
pip Tool
pythonbeginner - Multiple ChoiceIntermediate
venv Module
pythonintermediate - Multiple ChoiceIntermediate
sys.path
pythonintermediate - Multiple ChoiceHard
Namespace Packages
pythonhard - Multiple ChoiceBeginner
requirements.txt
pythonbeginner - Multiple ChoiceIntermediate
pyproject.toml
pythonintermediate - Multiple ChoiceIntermediate
__all__ variable
pythonintermediate - Multiple ChoiceIntermediate
importlib Module
pythonintermediate - Multiple ChoiceIntermediate
site-packages
pythonintermediate - Multiple ChoiceIntermediate
Module Caching
pythonintermediate - Multiple ChoiceIntermediate
eval() Danger
pythonintermediate - Multiple ChoiceIntermediate
exec() Function
pythonintermediate - Multiple ChoiceIntermediate
Pickle Security
pythonintermediate - Multiple ChoiceIntermediate
subprocess shell=True
pythonintermediate - Multiple ChoiceIntermediate
Path Traversal (MCQ)
pythonintermediate - Multiple ChoiceIntermediate
secrets vs random
pythonintermediate - Multiple ChoiceHard
tempfile Race Condition
pythonhard - Multiple ChoiceIntermediate
yaml.safe_load
pythonintermediate - Multiple ChoiceIntermediate
hashlib for Passwords
pythonintermediate - Multiple ChoiceBeginner
datetime.now
pythonbeginner - Multiple ChoiceBeginner
timedelta
pythonbeginner - Multiple ChoiceBeginner
strftime
pythonbeginner - Multiple ChoiceBeginner
math Module
pythonbeginner - Multiple ChoiceIntermediate
math.floor vs int
pythonintermediate - Multiple ChoiceBeginner
random Module
pythonbeginner - Multiple ChoiceBeginner
random.choice
pythonbeginner - Multiple ChoiceIntermediate
secrets Module
pythonintermediate - Multiple ChoiceIntermediate
typing.Optional
pythonintermediate - Multiple ChoiceIntermediate
typing.Union
pythonintermediate - Multiple ChoiceIntermediate
typing.Literal
pythonintermediate
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.