Algorithm · Microsoft · Hard
Requirements Create a compact in-memory database class that receives CSV text when it is instantiated and supports multiple query operations. The interviewer typically explores four extensions during one 60-minute interview. Part 1 — Initialization and SELECT The first CSV line supplies the column names, and every later line represents one row. Your parser must preserve ordinary strings, quoted values, embedded commas, escaped quotation marks, and columns containing…
Checking your access…