CGI Interview Question

linear search and binary search