Given a sorted array arr[] of n elements, write a function to search a given element x in arr[]. A simple approach is to do a linear search.
確定! 回上一頁