how to solve an array using search algorithm of an n elements? : <p>Suppose you have an array of 50 elements and you want to search a target item "x"</p>

<p>1.write a search algorithm if each item are sorted using pseudo code </p>

<p>2.write a search algorithm if each item are not sorted using pseudo code </p>
