Lenovo interview question

Asked about hashmaps and optimization algorithms