Micron Technology interview question

searching and sorting techniques