practice a little every day, paws crossed ♡
Machine Learning Engineer Interview Questions
Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.
- 9403
- Questions
- 546
- Companies
- 11
- Topics
- 8
- Languages
Showing 1–19 of 19 results
- AnthropicHardMachine Learning EngineerImplement a Simplified DNS Resolver
Implement an in-memory DNS resolver supporting A and CNAME record lookups, domain name normalization, TTL expiration, and CNAME alias chain cycle detection.
Coding & AlgorithmsOnline AssessmentHash TableGraphDesign - Capital OneHardMachine Learning EngineerCompute minutes since last train departure
This problem tests your ability to manipulate time objects, handle cyclic day-wrap scenarios, and perform efficient searching on sorted lists.
Coding & AlgorithmsOnline AssessmentArraysSortingTime Complexity - Capital OneMediumMachine Learning EngineerImplement string/matrix simulations and counting pairs
This problem tests string manipulation, simulation of grid-based gravitational collapse, and efficient combinatorial counting of string combinations.
Coding & AlgorithmsOnline AssessmentStringsSimulationHashing - Capital OneMediumMachine Learning EngineerRotate matrix and find max lamp coverage
This question evaluates array and matrix manipulation, in-place algorithm design, interval processing (sweep-line) and interval merging skills, testing competencies in algorithm design, complexity analysis, and robust edge-case reasoning within the Coding & Algorithms domain.
Coding & AlgorithmsOnline Assessment - Capital OneMediumMachine Learning EngineerSimulate round-robin package assignment to servers
This problem tests array indexing manipulation and logic for stateful resource allocation, specifically handling circular queues with dynamic availability constraints.
Coding & AlgorithmsOnline AssessmentArraysSimulationQueueing - Capital OneMediumMachine Learning EngineerSolve Four Coding Assessment Tasks
This multi-part coding question evaluates array manipulation, algorithm simulation, deterministic spatial placement, and constrained optimization competencies across tasks involving cumulative thresholds, iterative subtraction sequences, fixed-shape grid placement, and minimal-increment adjustments for monotonic patterns.
Coding & AlgorithmsOnline Assessment - Capital OneEasyMachine Learning EngineerSolve OA tasks on string, grid path, subarrays
This problem tests proficiency in string manipulation, grid traversal with condition-based movement, and linear-time subarray analysis.
Coding & AlgorithmsOnline AssessmentArraysDynamic ProgrammingGrid Traversal - Capital OneHardMachine Learning EngineerSupport updates and count target-sum pairs
This problem tests the ability to maintain frequency counts of elements in a dynamic dataset and perform efficient range-sum queries for pairs that satisfy a target condition.
Coding & AlgorithmsOnline AssessmentHash MapData StructuresFrequency Array - CoinbaseHardMachine Learning EngineerImplement local maxima, bagging, and k-means
This problem tests array traversal for local maxima detection, statistical resampling techniques for bagging, and iterative convergence for k-means clustering.
Coding & AlgorithmsOnline AssessmentAlgorithmsClusteringEnsemble Methods - Goldman SachsHardMachine Learning EngineerComplete decision tree and gradient descent functions
This question evaluates implementation skills in supervised machine learning and numerical optimization, specifically computing Gini impurity and selecting optimal binary splits for a decision tree alongside deriving and applying a single-step gradient descent update for linear regression.
Coding & AlgorithmsOnline Assessment - HackerRankMediumMachine Learning EngineerCount Good Subsequences With Equal Character Frequencies
Practice a combinatorics coding problem that counts good subsequences where every selected character has the same frequency. The prompt targets frequency counting, combinations, modular arithmetic, and grouping subsequences by common selected count.
Coding & AlgorithmsOnline Assessment - Jump TradingMediumMachine Learning EngineerSolve stock trading with pattern rules
This set of problems evaluates algorithmic skills in pattern recognition, state management, and sequence processing, specifically testing pattern-based decision rules on time-series stock data and iterative substring elimination in string processing within the Coding & Algorithms domain.
Coding & AlgorithmsOnline Assessment - Jump TradingMediumMachine Learning EngineerSolve stock-pattern trading and substring elimination
This question evaluates algorithmic skills in array pattern recognition and string processing, specifically detecting day-to-day sign patterns for simulated trading and repeated elimination of fixed two-character substrings; it belongs to the Coding & Algorithms domain for a Machine Learning Engineer position and targets practical application of linear-time, constant-extra-space techniques. It is commonly asked to evaluate efficient O(n) algorithm design, handling of stateful streaming simulations and in-place string reduction under tight time/space constraints, and correctness reasoning for edge cases.
Coding & AlgorithmsOnline Assessment - MetaMediumMachine Learning EngineerImplement exponentiation and fill grid distances
This problem tests proficiency in efficient modular exponentiation (binary exponentiation) and multi-source Breadth-First Search (BFS) for computing shortest distances in a grid.
Coding & AlgorithmsOnline AssessmentBFSModular ArithmeticDivide and Conquer - MetaMediumMachine Learning EngineerRead Current and Historical Field Values with Expiration
Design an in-memory key-field-value store that supports historical queries, time-to-live (TTL) expiration, and field deletions without corrupting past states.
Coding & AlgorithmsOnline AssessmentBinary SearchDesignHash Table - MetaEasyMachine Learning EngineerSolve four OA string/array/matrix/graph tasks
This problem tests foundational proficiency in four distinct domains: string processing, array simulation, matrix transformation, and graph traversal.
Coding & AlgorithmsOnline AssessmentStringsSimulationBFS - NetflixEasyMachine Learning EngineerMultiply Two Sparse Integer Matrices Given as Dense Grids
Given two integer matrices stored as dense lists of rows in which most entries are zero, return their exact matrix product. It tests handling matrix dimensions correctly and exploiting sparsity to skip work on zero entries while still producing every entry of the result.
Coding & AlgorithmsOnline Assessment - TikTokHardMachine Learning EngineerImplement local maxima, bagging, and k-means
This problem tests your ability to implement a sliding window peak detector, a bootstrapping ensemble sampler, and a centroid-based clustering algorithm from scratch.
Coding & AlgorithmsOnline AssessmentAlgorithmsClusteringEnsemble Learning - Two SigmaMediumMachine Learning EngineerSolve tree partition and IPO allocation
This question evaluates algorithmic problem-solving skills in tree processing and allocation simulations, specifically assessing understanding of subtree-sum computation for tree partitioning and deterministic round-robin allocation logic for IPO-style share distribution, along with appropriate data structure selection and correctness under edge cases. It is commonly asked in the Coding & Algorithms domain because it measures practical application-level implementation and the ability to analyze time and space complexity rather than purely conceptual proof.
Coding & AlgorithmsOnline Assessment