Databricks Binary Search Algorithm Time