Sector file // python
PYTHONDECODED.
Idioms, data & internals
139 Questions88.2k 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 ยท 860 views ยท modules, basics
Views:860Likes: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 ยท 404 views ยท sorting
Views:404Likes: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 ยท 990 views ยท generators, pipeline
Views:990Likes:47
How do you measure and profile Python performance?
Backend ยท 895 views ยท performance, timeit, cprofile
Views:895Likes:15
What is the LEGB rule for scope resolution?
DSA ยท 888 views ยท scope, legb
Views:888Likes:5
How does heapq work in Python?
DSA ยท 851 views ยท heapq, data-structures
Views:851Likes:31
What are lambda functions and map/filter/reduce?
DSA ยท 823 views ยท lambda, functional
Views:823Likes:80
Hard
3 questionsHow does typing.Never enable exhaustive match checking?
DSA ยท 895 views ยท typing, never, match
Views:895Likes:24
What is the descriptor protocol?
DSA ยท 340 views ยท descriptors, data-model
Views:340Likes:25
How do Unpack and TypedDict enable type-safe **kwargs?
Backend ยท 170 views ยท typing, unpack, typeddict
Views:170Likes:29
Seen a Python question that is not here? Add it and help the next candidate.
Share a question