Databricks interview question

Easy questions about binary search and strings.