MetaOptima interview question

About search bracket from an array