<br><br>Ok .I think I got the difference now. For the search-sorted we can check for the first and then if the number is greater than the first then the number is not in the list only otherwise we can check for the first and do the recursion on the rest.<br>
<br>This is how I have done it.<br><br>;; search : number list-of-numbers  -&gt;  boolean<br>(define (search n alon)<br>  (cond<br>    [(empty? alon) false]<br>    [else (cond<br>            [(&gt; n (first alon)) false]<br>
            [else (or (= (first alon) n) (search n (rest alon)))])]))<br><br>(define num (cons 3 (cons 2 (cons 1 empty))))<br><br>(search -1 num)<br><br>(search 1 empty)<br><br>(search 10 num)<br><br>(search 3 num)<br><br>
(search 2 num)<br><br><br>Thanks<br><br><br>Aditya<br>