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 ยท 951 views ยท control-flow, basics
How do pyproject.toml, tomllib, and uv/pyproject workflows fit together?
Backend ยท 583 views ยท toml, pyproject, packaging
What do enumerate and zip do?
DSA ยท 348 views ยท enumerate, zip
What are list/dict/set comprehensions?
DSA ยท 213 views ยท comprehension
What is the walrus operator?
DSA ยท 110 views ยท walrus
Medium
20 questionsWhat is the difference between shallow and deep copy?
DSA ยท 1.2k views ยท shallow-deep-copy
What is a race condition and how do locks prevent it?
DSA ยท 1.2k views ยท threading, race-condition, locks
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 ยท 895 views ยท performance, timeit, cprofile
What are lambda functions and map/filter/reduce?
DSA ยท 823 views ยท lambda, functional
Hard
8 questionsWhat is an async iterator and async for?
DSA ยท 954 views ยท async, async-iterator
How does typing.Never enable exhaustive match checking?
DSA ยท 895 views ยท typing, never, match
How does CPython execute your code?
DSA ยท 720 views ยท cpython, internals, bytecode
What is the Method Resolution Order (MRO)?
DSA ยท 684 views ยท mro, inheritance
What is the difference between a generator and a coroutine?
DSA ยท 546 views ยท generators, coroutines
How does the asyncio event loop schedule coroutines?
DSA ยท 465 views ยท asyncio, event-loop
What is __init_subclass__ in Python?
DSA ยท 223 views ยท oop, init-subclass
How does async/await work in Python?
DSA ยท 141 views ยท async, asyncio
Seen a Python question that is not here? Add it and help the next candidate.
Share a question