Machine Learning Engineer Software Engineering Fundamentals Interview Questions

Practice 26 real Software Engineering Fundamentals interview questions for Machine Learning Engineer roles. From companies including OpenAI, Microsoft, Amazon, Anthropic, Apple.

26 Questions 20 Companies07.25.2026
Showing 20 results
Role
Ziprecruiter logo
Ziprecruiter
Easy
Machine Learning Engineer

Debug Feature Updates in a Laptop Management CLI

Debug Feature Updates in a Laptop Management CLI You are debugging a command-line laptop management system. Each laptop belongs to one or more users a...

Software Engineering Fundamentals
1
0
18 people solved
Jul 25, 2026
Apple logo
Apple
Hard
Machine Learning EngineerSenior+

Walk Through an Agentic PDF Evaluation Codebase

Walk through an agentic PDF evaluation codebase, including architecture, deployment, data processing, embeddings, similarity, and state management. `h...

Software Engineering Fundamentals
20
0
205 people solved
Jul 1, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer

Debug a Concurrent Job Scheduler

You are handed a buggy Python job scheduler that runs many independent jobs concurrently. Each job has an ID, a callable to execute, a maximum retry c...

Software Engineering Fundamentals
49
0
399 people solved
Apr 3, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer

Explain KV cache in Transformer inference

Question In Transformer-based large-language-model inference, what is a key-value (KV) cache? Give a complete, systems-level explanation that covers: ...

Software Engineering Fundamentals
227
1
1550 people solved
Jan 6, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer

Design First-Fit and Best-Fit Memory Allocation

Design First-Fit and Best-Fit Memory Allocation Design a simplified allocator over one contiguous arena of N bytes. It supports: - allocate(size, stra...

Software Engineering Fundamentals
6
0
58 people solved
Apr 19, 2026
Amazon logo
Amazon
Medium
Machine Learning Engineer Locked

Design an advertiser metrics tracking platform

This question evaluates object-oriented design competencies such as domain modeling, class responsibilities and relationships, service interfaces, ext...

Software Engineering Fundamentals
24
0
164 people solved
May 30, 2026
Reddit logo
Reddit
Easy
Machine Learning Engineer Locked

Design a Tennis Scoring System

This question evaluates object-oriented design, state management, input validation, and the ability to model domain-specific scoring rules for a two-p...

Software Engineering Fundamentals
3
0
49 people solved
May 23, 2026
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Analyze matrix multiplication complexity

In an ML coding interview, you're handed a PyTorch file and asked a series of complexity questions about the operations in it. One of them: Given two ...

Software Engineering Fundamentals
75
0
530 people solved
Feb 11, 2026
Anthropic logo
Anthropic
Medium
Machine Learning Engineer Locked

Explain multithreading vs multiprocessing

This question evaluates understanding of concurrency and parallelism, specifically multithreading versus multiprocessing, their interaction with multi...

Software Engineering Fundamentals
49
0
364 people solved
Feb 11, 2026
OpenAI logo
OpenAI
Hard
Machine Learning Engineer Locked

Design an Extensible Simulation Engine

This question evaluates object-oriented design, state modeling, API design, modularity, testability, and the ability to architect an extensible simula...

Software Engineering Fundamentals
10
0
140 people solved
Apr 3, 2026
Lyft logo
Lyft
Medium
Machine Learning EngineerIntern

Explain Python and Systems Fundamentals

Answer the following software engineering fundamentals questions: 1. A production system has become very slow. How would you detect the bottleneck, me...

Software Engineering Fundamentals
13
0
101 people solved
Mar 12, 2026
Microsoft logo
Microsoft
Medium
Machine Learning EngineerIntern

Compute precision/recall from a flaky top-k API

You have 10 image files. Each file has a ground-truth label indicating whether it contains a dog. You can call an API like searchDogs(k) which is inte...

Software Engineering Fundamentals
7
0
79 people solved
Feb 9, 2026
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Explain what torch.distributed.barrier does

Question In PyTorch distributed training, what does torch.distributed.barrier() do? Follow-ups - Give an example of when you would use it. - What are ...

Software Engineering Fundamentals
14
0
231 people solved
Dec 15, 2025
Applied logo
Applied
Medium
Machine Learning Engineer

Design Ordered CUDA Reduction

In CUDA, a parallel reduction can produce different results if the combination order is not fixed, especially for floating-point arithmetic where addi...

Software Engineering Fundamentals
6
0
54 people solved
Apr 14, 2026
Waymo logo
Waymo
Medium
Machine Learning Engineer

Optimize Tensor Runtime Kernels

You are responsible for optimizing an ML framework runtime on an accelerator. A model has high latency and occasional memory pressure. Explain how you...

Software Engineering Fundamentals
8
0
64 people solved
Nov 27, 2025
Microsoft logo
Microsoft
Medium
Machine Learning Engineer Locked

Explain a project deeply

This question evaluates a candidate's ability to communicate technical ownership, system architecture, decision-making, and operational problem-solvin...

Software Engineering Fundamentals
4
0
52 people solved
Feb 23, 2026
Cohere logo
Cohere
Medium
Machine Learning EngineerSenior+ Locked

Build an LLM-driven text-game agent

This question evaluates a candidate's understanding of integrating large language models into interactive agents, including prompt design, game-state ...

Software Engineering Fundamentals
16
0
122 people solved
Dec 25, 2025
Dandy logo
Dandy
Medium
Machine Learning EngineerSenior+

How do you interpolate in 3D?

Given two points in 3D space, p0 = (x0, y0, z0) and p1 = (x1, y1, z1), how do you compute a point between them using interpolation? Define the interpo...

Software Engineering Fundamentals
10
0
83 people solved
Apr 5, 2026
Startups.Com logo
Startups.Com
Medium
Machine Learning Engineer

Debug and scale a PyTorch training loop

You are given a PyTorch training script for a CIFAR-10 image classifier that either: - does not converge (accuracy stays near random), or - becomes un...

Software Engineering Fundamentals
8
0
69 people solved
Mar 10, 2026
xAI logo
xAI
Medium
Machine Learning Engineer

What are processes vs threads?

Question Explain the difference between multiprocessing and multithreading in the context of building concurrent applications. Cover the following: - ...

Software Engineering Fundamentals
35
0
230 people solved
Feb 12, 2026

Explore more Machine Learning Engineer Software Engineering Fundamentals interview questions

Real questions from candidate reports, grouped by company, topic and role.

Other categories for Machine Learning Engineer
Software Engineering Fundamentals questions for other roles
Browse all