Vectorize One-Nearest-Neighbor and Express It as a Neural Forward Pass
Company: OpenAI
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Technical Screen
Overview: Write NumPy-style pseudocode for vectorized one-nearest-neighbor inference, then express the same nearest-prototype decision as a neural-network forward pass.
Read the full OpenAI Machine Learning Engineer interview experience this question came from