Skip to content
b
buncho
.
Problems
Blog
Pricing
Search problems
Log in
Sign up
Loading…
Loading…
Python for AI/ML Interview Questions (Page 3) | 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
41.
How do you check whether a string is a palindrome?
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
42.
How is Python used across the lifecycle of building an AI model?
Python for AI/ML · Conceptual · 6 min
Asked %
Companies
Python for AI/ML
Conceptual
6 min
Pro feature
Pro feature
Easy
Not started
43.
How do you count word frequency in Python?
Python for AI/ML · Practical exercise · 6 min
Asked %
Companies
Python for AI/ML
Practical exercise
6 min
Pro feature
Pro feature
Easy
Not started
44.
Implement a numerically stable softmax in NumPy
Python for AI/ML · Practical exercise · 8 min
Asked %
Companies
Python for AI/ML
Practical exercise
8 min
Pro feature
Pro feature
Easy
Not started
45.
How does Python manage memory? Why can memory stay high after you delete objects?
Python for AI/ML · Conceptual · 12 min
Asked %
Companies
Python for AI/ML
Conceptual
12 min
Pro feature
Pro feature
Medium
Not started
46.
Debug a multiprocessing job that fails with pickling and CUDA errors
Python for AI/ML · Debugging · 18 min
Asked %
Companies
Python for AI/ML
Debugging
18 min
Pro feature
Pro feature
Hard
Not started
47.
Write an async batch processor that runs an LLM call over 50,000 documents with a concurrency limit, retries with jitter, and error isolation
Python for AI/ML · Practical exercise · 25 min
Asked %
Companies
Python for AI/ML
Practical exercise
25 min
Pro feature
Pro feature
Hard
Not started
48.
is vs ==, and what makes an object hashable?
Python for AI/ML · Conceptual · 8 min
Asked %
Companies
Python for AI/ML
Conceptual
8 min
Pro feature
Pro feature
Easy
Not started
49.
Special (dunder) methods: how do __getitem__, __len__ and __call__ power PyTorch?
Python for AI/ML · Conceptual · 10 min
Asked %
Companies
Python for AI/ML
Conceptual
10 min
Pro feature
Pro feature
Medium
Not started
50.
Write a batching helper for sending texts to an embedding API
Python for AI/ML · Practical exercise · 8 min
Asked %
Companies
Python for AI/ML
Practical exercise
8 min
Pro feature
Pro feature
Easy
Not started
51.
Why is vectorised NumPy code so much faster than Python loops?
Python for AI/ML · Conceptual · 8 min
Asked %
Companies
Python for AI/ML
Conceptual
8 min
Pro feature
Pro feature
Easy
Not started
52.
How do you write a custom scikit-learn transformer that works in a Pipeline?
Python for AI/ML · Conceptual · 12 min
Asked %
Companies
Python for AI/ML
Conceptual
12 min
Pro feature
Pro feature
Medium
Not started
53.
Implement semantic caching for LLM queries (reuse responses for semantically similar queries)
Python for AI/ML · Practical exercise · 18 min
Asked %
Companies
Python for AI/ML
Practical exercise
18 min
Pro feature
Pro feature
Hard
Not started
54.
How do well-designed Python functions improve the quality of ML code?
Python for AI/ML · Conceptual · 6 min
Asked %
Companies
Python for AI/ML
Conceptual
6 min
Pro feature
Pro feature
Easy
Not started
55.
Cache embeddings so repeated texts are never recomputed
Python for AI/ML · Practical exercise · 12 min
Asked %
Companies
Python for AI/ML
Practical exercise
12 min
Pro feature
Pro feature
Easy
Not started
56.
Debug a 2D grid where changing one cell changes a whole column
Python for AI/ML · Debugging · 6 min
Asked %
Companies
Python for AI/ML
Debugging
6 min
Pro feature
Pro feature
Easy
Not started
57.
Generators and lazy evaluation: why they matter for large datasets
Python for AI/ML · Conceptual · 8 min
Asked %
Companies
Python for AI/ML
Conceptual
8 min
Pro feature
Pro feature
Easy
Not started
58.
Iterables vs iterators: how does a for loop work, and how does PyTorch use this?
Python for AI/ML · Conceptual · 10 min
Asked %
Companies
Python for AI/ML
Conceptual
10 min
Pro feature
Pro feature
Medium
Not started
59.
Implement a retry decorator with exponential backoff and jitter
Python for AI/ML · Practical exercise · 12 min
Asked %
Companies
Python for AI/ML
Practical exercise
12 min
Pro feature
Pro feature
Medium
Not started
60.
How do you remove duplicates from a list while preserving order?
Python for AI/ML · Practical exercise · 5 min
Asked %
Companies
Python for AI/ML
Practical exercise
5 min
Pro feature
Pro feature
Easy
Page 3 of 4