Infer Generic Return Types
Company: OpenAI
Role: Machine Learning Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Onsite
Quick Answer: This question evaluates understanding of type systems, generic unification, recursive data structures, substitution mechanics, and robust error handling in a toy type-inference engine.