Sector file // python
PYTHONDECODED.
Idioms, data & internals
139 Questions88.6k Views5.3k Upvotes
34 easy83 med22 hard
Easy
4 questionsWhat are mutable and immutable types in Python?
DSA ยท 1.1k views ยท mutability
Views:1.1kLikes:60
What does if __name__ == "__main__" do?
Backend ยท 862 views ยท modules, basics
Views:862Likes:32
Is Python pass-by-value or pass-by-reference?
Backend ยท 586 views ยท functions, objects
Views:586Likes:45
How do you sort with a custom key, and how does sorted differ from sort?
DSA ยท 406 views ยท sorting
Views:406Likes:12
Medium
22 questionsWhat is the difference between shallow and deep copy?
DSA ยท 1.2k views ยท shallow-deep-copy
Views:1.2kLikes:65
How does Polars LazyFrame query optimization work?
DSA ยท 1.1k views ยท polars, lazy, performance
Views:1.1kLikes:19
What are decorators in Python?
DSA ยท 1.0k views ยท decorators
Views:1.0kLikes:8
How do generator pipelines stream data lazily?
DSA ยท 991 views ยท generators, pipeline
Views:991Likes:47
How do you measure and profile Python performance?
Backend ยท 898 views ยท performance, timeit, cprofile
Views:898Likes:15
What is the LEGB rule for scope resolution?
DSA ยท 890 views ยท scope, legb
Views:890Likes:5
How does heapq work in Python?
DSA ยท 853 views ยท heapq, data-structures
Views:853Likes:31
What are lambda functions and map/filter/reduce?
DSA ยท 827 views ยท lambda, functional
Views:827Likes:80
Hard
3 questionsHow does typing.Never enable exhaustive match checking?
DSA ยท 896 views ยท typing, never, match
Views:896Likes:24
What is the descriptor protocol?
DSA ยท 342 views ยท descriptors, data-model
Views:342Likes:25
How do Unpack and TypedDict enable type-safe **kwargs?
Backend ยท 174 views ยท typing, unpack, typeddict
Views:174Likes:29
Seen a Python question that is not here? Add it and help the next candidate.
Share a question