Hitachi Vantara Interview Question

Binary search, leniar search