OpenAI interview questions
Software engineer (new grad to senior)
Coding
- Time Based Key-Value Store (LeetCode 981)
- Compute an account balance at any timestamp from unsorted post and delete events
- Credit ledger with expiring grants: transaction, subtract and get_balance calls arriving out of order
- Time-versioned data store that returns a key's value as of a timestamp or a version number
- Resumable iterator over a large dataset with pause, resume and saved position
- Serialize and deserialize a key-value store whose keys and values may contain any character
- In-memory database supporting a subset of SQL: tables, inserts, selects with WHERE
- Unix cd: resolve a target path with ., .. and symbolic links, detecting link cycles
- Web Crawler Multithreaded (LeetCode 1242)
- Spreadsheet with formula cells, evaluation order and circular reference detection
- Meeting rooms scheduling with overlapping intervals
- Find the race condition in a shared counter and fix it
- Debug, speed up and refactor a given block of code without changing its behavior
- Build a small ORM layer: save, find, update and delete objects in a database
- Traverse a file system
- Compute the KL divergence between continuous distributions
- Expected number of iterations of a probabilistic function
System design
- Design the OpenAI Playground: prompt experiments, conversation threads and API access, with wireframes, API and schema
- Design a ChatGPT-style product that streams answers and recovers when the stream drops
- Design Slack: channels, real-time messaging and presence
- Design a distributed job scheduler
- Design GitHub Actions, a multi-tenant CI/CD system
- Design a webhook delivery service with retries and delivery guarantees
- Design a payments pipeline that holds funds and settles in daily batches
- Design Yelp
- Design Foursquare check-ins and nearby places
- Design Twitter
- Design a notification system
What OpenAI looks for
- Humanity first — AI is built to benefit people and society.
- Act with humility — Know the limits of your knowledge and stay open to being wrong.
- Feel the AGI — Treat a transformative technology with rigor, imagination and responsibility.
- Ship joy — Ship products that change how people live, with optimism about the future.
- Find a way — Individuals and teams have the agency to get important things done, and ideas can come from anyone.
- Creativity over control — Prefer creative, sometimes imperfect solutions to rigidity.
- Update quickly — Start with a hypothesis and change course as new information arrives.
- Intense focus — Work hard and stay resilient, with the clarity to make hard decisions.
- Long-term safety — Do the research that makes AGI safe and spread it across the field.
- Broadly distributed benefits — Use any influence over AGI for the benefit of all, never to concentrate power.
Behavioral questions
- Why OpenAI, and how do you understand its value proposition?
- What are your motivations and goals, and what do you want to do next?
- Present a challenging technical problem you worked on recently: impact, trade-offs and your own contribution.
- Who else worked on that project, and what was each person responsible for?
- Tell me about a time you worked across teams or disciplines.
- Tell me about a conflict between teams or roles and how it was resolved.
- Tell me about competing ideas inside your team on how to move a project forward.
- How do you think about the ethics and safety of AI?
- Tell me about a time you ramped up quickly in a new domain and delivered results.
- Tell me about a time feedback or new information changed your approach.
The loop
- Application and résumé review: The recruiting team usually replies by email within about a week.
- Introductory call: A recruiter or the hiring manager asks about your work, why OpenAI and what you want next, and explains each later round.
- Skills-based assessment: Varies by team: a one-hour practical coding screen in CoderPad, a HackerRank test, a take-home or pair coding, sometimes more than one.
- System design screen: An hour in Excalidraw on a product or infrastructure prompt, sometimes back to back with the coding screen.
- Final interviews: Four to six hours with four to six people over one or two days: coding, system design, a technical presentation, behavioral rounds and, for some teams, coding with an AI agent.
- Decision: Expect an answer within a week of the finals; the recruiter may ask for references.
Tips
- Read the OpenAI Charter, research and blog posts, especially recent work from the team you are interviewing with.
- Check whether AI tools are allowed in each interview: some formats allow them, others test you without them. Ask your recruiter if unsure.
- In engineering rounds, aim for a well-designed solution, high-quality code, good performance and tests, and explain your reasoning as you go.
- Coding questions are practical and multi-part: get a clean working core first, then handle the follow-ups; expect to type for most of the hour.
- Bring slides to the presentation round, even if no one asks for them.
- In design, ask what to leave as a black box (such as model serving), cover UI, API and schema, and name only tools you can defend in depth.
Sources
- Interview guide — OpenAI
- Careers at OpenAI — OpenAI
- OpenAI Charter — OpenAI
- OpenAI's Interview Process & Questions — interviewing.io
- OpenAI Coding Interviews: Real Questions from Real Candidates — Hello Interview
- OpenAI Coding Interview (SWE): Actual Past Questions Asked — Coditioning
- OpenAI System Design Interview — Aced
- OpenAI System Design Interview Questions — Coditioning
- OpenAI Phone Screen Questions & Results (New Grad) — LeetCode Discuss
- Bombed my coding round — LeetCode Discuss
Other companies
- Amazon
- Meta
- Microsoft
- Apple
- Netflix
- NVIDIA
- Anthropic
- Databricks
- Snowflake
- Palantir
- Datadog
- Uber
- Airbnb
- DoorDash
- Lyft
- Spotify
- Snap
- TikTok
- X (Twitter)
- Roblox
- Stripe
- Coinbase
- Robinhood
- PayPal
- Block
- Visa
- Bloomberg
- Salesforce
- Oracle
- Adobe
- Atlassian
- Shopify
- ServiceNow
- Workday
- Dropbox
- Cloudflare
- IBM
- Cisco
- Intel
- Qualcomm
- Tesla
- Goldman Sachs
- JPMorgan Chase
- Capital One
- Walmart
Start free on Cariara · Coding problems · System design studio