Implement type AST and infer generics

Read the full interview experience this question came from →

Quick Overview

This question evaluates a candidate's ability to design an abstract syntax tree representation and implement generic type inference for a small language, exercising skills in type systems, structural recursion, and detecting conflicting bindings.

Implement type AST and infer generics

Company: OpenAI

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Technical Screen

Overview: This question evaluates a candidate's ability to design an abstract syntax tree representation and implement generic type inference for a small language, exercising skills in type systems, structural recursion, and detecting conflicting bindings.

Read the full OpenAI Software Engineer interview experience this question came from

OpenAI logo
OpenAI
Feb 11, 2026
hardSoftware EngineerTechnical ScreenCoding & Algorithms
34
0
Practice
Loading...