Anthropic Machine Learning Engineer Coding & Algorithms Interview Questions
Master your tech interview with our curated database of real questions from top companies.
3Questions
1Company
3 Questions 1 Company
Showing 3 results
Anthropic
Medium
Machine Learning EngineerConvert stack samples to execution trace
You are given sampling-profiler output: a list of Sample objects ordered by timestamp ascending. Each Sample has (t: float, stack: list[str]) where st...
Coding & Algorithms
0
0
Sep 6, 2025
Anthropic
Medium
Machine Learning EngineerImplement an extensible prefix tree
Implement a prefix tree (trie) supporting insert(word), search(word), startsWith(prefix), countPrefix(prefix), and erase(word). Optimize for time and ...
Coding & Algorithms
0
0
Aug 14, 2025
Anthropic
Medium
Machine Learning EngineerImplement cluster status tracker
Implement a cluster status tracker. Design a class with methods: update(nodeId, status, timestamp) to record node status updates that may arrive out o...
Coding & Algorithms
0
0
Jul 27, 2025