Deloitte interview question

Simple creating and searching through a directory. Binary sort question. Leetcode easy.