Hitachi Vantara interview question

Binary search, leniar search