GlobalLogic Interview Question

They asked me to explain how I would optimize a search algorithm to handle large datasets efficiently.