← Questions

In-memory SQL table with filtering and multi-key sorting

0
OpenAIMetaAirbnb+1CodingLast asked May 2026

A coding interview question asked in Microsoft's coding round and at OpenAI, Airbnb and 1 more company, last asked May 2026. It tests object-oriented design, sorting and hash map.

Build a small in-memory SQL-like database. You do not need to parse SQL text.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Microsoft · Coding · Last asked May 202660 min · Ten to fifteen minutes of behavioral questions, then coding in HackerRank where you write a main and make the tests pass; usually three rounds · No AI unless the interviewer invites it; some 2026 loops add a round where you bring your own AI agent
  • OpenAI · Agentic coding (beta) · Last asked Dec 2025An existing codebase and changes too large to write by hand; you work through them with an AI coding agent · An AI coding agent is expected
  • Airbnb · Technical phone screen · Last asked Nov 202545 min · One algorithm problem from a small recurring pool
  • Meta

What it tests

object-oriented design · sorting · hash map

Your code and the AI tutor open when you unlock this question.