As reported: Qualcomm Engineer (Bangalore), round 2 (2026): Python list comprehension; round 3: list comprehension, decorators, method overloading vs overriding,
*args/**kwargs, andmapvsreduce.
- What is a list comprehension? Write one with a condition.
- What is a decorator? Write one that times a function.
- Method overloading vs overriding — and how does Python handle overloading?
- What do
*argsand**kwargsdo? mapvsreduce?