Google DeepMind Coding Interview Questions
5 coding questions reported by candidates who interviewed at Google DeepMind, out of 10 Google DeepMind questions we track. They average 2.8/5 difficulty (medium). 5 were reported asked within the last year, most recently in June 2026.
Practice Google DeepMind questions →Difficulty
- 2/5 — easy1
- 3/5 — medium4
Asked for SWE (5)
Reported Google DeepMind coding questions
Build an Undirected Graph and Traverse with DFS
3/5This Google DeepMind interview question evaluates your mastery of fundamental graph theory and tree-traversal algorithms using adjacency structures. Given a collection of undirected links between various nodes, you must construct an explicit network representation and execute a systematic depth-first exploration that handles cycles, disconnected sub-graphs, and arbitrary input sequences gracefully. The exercise tests your recursion capabilities and graph-building techniques. Unlocking the complete problem description and expert model solution requires an active subscription.
asked June 2026Print a Matrix in Diagonal Order
2/5A coding question on traversing a two-dimensional grid along its anti-diagonals, covering square and rectangular shapes, empty input, and a follow-up on data too large for memory.
asked December 2025Generate a Random Number Given Probability Distribution
3/5Encountered frequently in Google DeepMind technical interviews, this coding challenge requires you to build a sampler that draws random values from a set based on an assigned probability distribution. The exercise tests your grasp of cumulative probabilities, efficient searching techniques, and randomized algorithms. You must design a robust function that handles numerical distributions correctly while maintaining optimal time complexity. The complete problem statement, optimal algorithmic approaches, and a production-grade model solution are available with a subscription.
asked December 2025Recover x from a Monotonic Function Output
3/5A coding question on inverting an unknown increasing function over the integers while evaluating it as few times as possible. It tests reasoning about unbounded domains, targets with no matching input, and how many evaluations any method truly needs.
asked December 2025Maximum of a Bitonic Array
3/5A coding question about reporting the maximum of a list whose values first climb and then drop, while reading only a tiny fraction of its entries. It checks careful handling of lists that only climb, only drop, or hold a single value.
asked November 2025
Google DeepMind coding interview FAQ
- What coding questions does Google DeepMind ask?
- 5 reported coding questions.
- How hard is the Google DeepMind coding interview?
- The reported coding questions average 2.8 out of 5: 1 at 2/5, 4 at 3/5.
- Are these Google DeepMind coding questions recent?
- The most recent report is from June 2026, and 5 were reported within the last twelve months. Dates come from the interview reports themselves.