ZFunds interview question

Binary Search, and another based on hashmaps.