Databricks Interview Question

Designing a simple wrapper on a database with 2 ingestion methods and a retrieval method for k items with a minimum value above a threshold.