Object-Oriented Programming · Two Sigma · Medium
Requirements Build an interpreter whose input is a list[list[str]]; every inner list contains the tokens for one query. It must handle at least these commands: create table ( ) insert into ( ) select from where ( AND ) Assumptions and boundaries: Every stored column value is an integer. Comparisons may use >=, =, <=, and related operators. A select query only needs conjunctions using AND between its predicates. Query syntax is guaranteed to be valid, although field values…
Checking your access…