Sector file // python
PYTHONDECODED.
Idioms, data & internals
Easy
7 questionsWhat are common useful string methods?
DSA ยท 1.1k views ยท string-methods
How do you work with dictionaries (get, setdefault, items, merging)?
Backend ยท 1.1k views ยท dict, basics
How do break, continue, pass and loop else work?
Backend ยท 955 views ยท control-flow, basics
How do pyproject.toml, tomllib, and uv/pyproject workflows fit together?
Backend ยท 586 views ยท toml, pyproject, packaging
What do enumerate and zip do?
DSA ยท 350 views ยท enumerate, zip
What are list/dict/set comprehensions?
DSA ยท 215 views ยท comprehension
What is the walrus operator?
DSA ยท 117 views ยท walrus
Medium
20 questionsWhat is a race condition and how do locks prevent it?
DSA ยท 1.2k views ยท threading, race-condition, locks
What is the difference between shallow and deep copy?
DSA ยท 1.2k views ยท shallow-deep-copy
What are mixins in Python?
DSA ยท 1.2k views ยท oop, mixins
What is the difference between an iterable and an iterator?
DSA ยท 1.1k views ยท iterators
What are dunder (magic) methods?
DSA ยท 1.1k views ยท oop, dunder
What is composition versus inheritance?
DSA ยท 1.0k views ยท oop, composition
How do you measure and profile Python performance?
Backend ยท 898 views ยท performance, timeit, cprofile
What are lambda functions and map/filter/reduce?
DSA ยท 827 views ยท lambda, functional
Hard
8 questionsWhat is an async iterator and async for?
DSA ยท 956 views ยท async, async-iterator
How does typing.Never enable exhaustive match checking?
DSA ยท 896 views ยท typing, never, match
How does CPython execute your code?
DSA ยท 722 views ยท cpython, internals, bytecode
What is the Method Resolution Order (MRO)?
DSA ยท 686 views ยท mro, inheritance
What is the difference between a generator and a coroutine?
DSA ยท 549 views ยท generators, coroutines
How does the asyncio event loop schedule coroutines?
DSA ยท 468 views ยท asyncio, event-loop
What is __init_subclass__ in Python?
DSA ยท 224 views ยท oop, init-subclass
How does async/await work in Python?
DSA ยท 143 views ยท async, asyncio
Seen a Python question that is not here? Add it and help the next candidate.
Share a question