BNY interview question

Various searching algorithms were asked