GitHub - amitgaru/python-interview-prep: Curated list of core Python topics & Problem Solving questions asked in the Python Dev interview.
- Basic Data Types
int, string, float, bool
- Data Structures
list, tuple, dict, set, frozenset
- Data Structures' Analogies (
list vs set, list vs dict, list vs tuple)
- Mutable vs Immutable Types
- Identity Operators
is, is not
- Hashable vs Unhashable Types
- Positional Arguments vs Keyword Arguments
*args, **kwargs
- Memory management in Python
- Global Interpreter Lock (GIL)
- Namespaces and Scope
- Multithreading (I/O Bound) and Multiprocessing (CPU Bound) in Python
- Co-operative multitasking (async/await)
- Memoization
- Inheritance (Single/Multiple)
- Dunder Methods (Double Underscore/Special)
- Operator overloading in Python
- Metaclass
- Decorator
- Generator
- Context Manager
- List Comprehension, Dictionary Comprehension, Set Comprehension
- Statements and its functions:
pass, break, continue
Data Structure / Problem Solving Questions
- Find the common elements between two
list (with complexity analysis).
- Explain the time complexity to pop an element from a
list.
- Explain the time complexity of
in operator check in list, set, dict, tuple.
Other Questions
- Reading a large file in Python without having memory issues.