Skip to content
b
buncho
.
Problems
Blog
Pricing
Search problems
Log in
Sign up
Loading…
Loading…
Python for AI/ML Interview Questions (Page 2) | Buncho
Topic
Python for AI/ML interview questions
Python language details that matter in ML code.
All topics
565
Python for AI/ML
75
Machine Learning Fundamentals
10
ML Algorithms
0
ML System Design
1
Deep Learning
5
Statistics and Mathematics
1
Generative AI and LLMs
122
Embeddings
13
RAG and Vector Databases
47
AI Agents and Tool Calling
50
MCP
0
Multimodal AI
29
LLM Evaluation and Testing
27
AI Safety, Ethics, and Responsible AI
36
AI System Design
41
Fine-Tuning
25
AI Infrastructure and Scalability
29
LLM Gateways
0
Production AI Engineering
39
AI Engineering Case Studies
15
Search problems
Difficulty
Difficulty
Easy
Medium
Hard
Problem type
All types
Conceptual
Practical exercise
Debugging
System design
Case study
75
problems
See how often each question is asked, and which companies asked it.
Part of Buncho Pro.
Unlock
Title
Topic
Type
Time
Asked
Companies
Level
Not started
21.
NumPy views vs copies: when does modifying one change another?
Python for AI/ML · Conceptual · 10 min
Asked %
Companies
Python for AI/ML
Conceptual
10 min
Pro feature
Pro feature
Medium
Not started
22.
Debug an async summariser that is no faster than the sequential version
Python for AI/ML · Debugging · 12 min
Asked %
Companies
Python for AI/ML
Debugging
12 min
Pro feature
Pro feature
Medium
Not started
23.
Implement a thread-safe token-bucket rate limiter for an LLM client
Python for AI/ML · Practical exercise · 20 min
Asked %
Companies
Python for AI/ML
Practical exercise
20 min
Pro feature
Pro feature
Hard
Not started
24.
A nightly pandas preprocessing job now takes 6 hours
Python for AI/ML · Case study · 25 min
Asked %
Companies
Python for AI/ML
Case study
25 min
Pro feature
Pro feature
Medium
Not started
25.
Debug a pandas labelling step that has no effect
Python for AI/ML · Debugging · 10 min
Asked %
Companies
Python for AI/ML
Debugging
10 min
Pro feature
Pro feature
Medium
Not started
26.
Explain Python decorators with examples from ML code
Python for AI/ML · Conceptual · 8 min
Asked %
Companies
Python for AI/ML
Conceptual
8 min
Pro feature
Pro feature
Easy
Not started
27.
How do you sort a dictionary by its values?
Python for AI/ML · Practical exercise · 5 min
Asked %
Companies
Python for AI/ML
Practical exercise
5 min
Pro feature
Pro feature
Easy
Not started
28.
How does asyncio work, and why is it a good fit for LLM API calls?
Python for AI/ML · Conceptual · 12 min
Asked %
Companies
Python for AI/ML
Conceptual
12 min
Pro feature
Pro feature
Medium
Not started
29.
Explain NumPy broadcasting and its rules
Python for AI/ML · Conceptual · 10 min
Asked %
Companies
Python for AI/ML
Conceptual
10 min
Pro feature
Pro feature
Medium
Not started
30.
What are context managers and the with statement used for?
Python for AI/ML · Conceptual · 8 min
Asked %
Companies
Python for AI/ML
Conceptual
8 min
Pro feature
Pro feature
Easy
Not started
31.
Lambda, map/filter and comprehensions: which should you use?
Python for AI/ML · Conceptual · 7 min
Asked %
Companies
Python for AI/ML
Conceptual
7 min
Pro feature
Pro feature
Easy
Not started
32.
How do you find duplicate elements in a list in Python?
Python for AI/ML · Practical exercise · 5 min
Asked %
Companies
Python for AI/ML
Practical exercise
5 min
Pro feature
Pro feature
Easy
Not started
33.
How does pandas help in an AI project?
Python for AI/ML · Conceptual · 6 min
Asked %
Companies
Python for AI/ML
Conceptual
6 min
Pro feature
Pro feature
Easy
Not started
34.
Design a Python tool registry for an LLM agent
Python for AI/ML · System design · 20 min
Asked %
Companies
Python for AI/ML
System design
20 min
Pro feature
Pro feature
Medium
Not started
35.
Design the structure of a maintainable Python ML codebase
Python for AI/ML · System design · 20 min
Asked %
Companies
Python for AI/ML
System design
20 min
Pro feature
Pro feature
Medium
Not started
36.
Process 1,000 prompts concurrently with a concurrency limit
Python for AI/ML · Practical exercise · 15 min
Asked %
Companies
Python for AI/ML
Practical exercise
15 min
Pro feature
Pro feature
Medium
Not started
37.
Why does model.fit() give different results on each run, and how do you make it reproducible?
Python for AI/ML · Debugging · 9 min
Asked %
Companies
Python for AI/ML
Debugging
9 min
Pro feature
Pro feature
Medium
Not started
38.
Debug a cleaning loop that skips items and a dict loop that crashes
Python for AI/ML · Debugging · 7 min
Asked %
Companies
Python for AI/ML
Debugging
7 min
Pro feature
Pro feature
Easy
Not started
39.
What is the GIL, and how does it affect ML and data workloads?
Python for AI/ML · Conceptual · 10 min
Asked %
Companies
Python for AI/ML
Conceptual
10 min
Pro feature
Pro feature
Medium
Not started
40.
Design a Python pipeline to embed 50 million documents and keep them updated
Python for AI/ML · System design · 30 min
Asked %
Companies
Python for AI/ML
System design
30 min
Pro feature
Pro feature
Hard
Page 2 of 4