Find k customers with least revenue | Databricks Interview Question