Talk:Binary search: Difference between revisions

Proposing improvement on bsearch_r in C.
(→‎Pascal: oops. I meant to say Python)
(Proposing improvement on bsearch_r in C.)
Line 21:
? --~~~~
</pre>
 
== Recursive binary search in C ==
Is there any reason why <code>n</code> is passed as argument in <code>int bsearch_r (int *a, int n, int x, int i, int j)</code> [http://rosettacode.org/wiki/Binary_search#C in C]? --[[User:Natema|Natema]] ([[User talk:Natema|talk]]) 05:31, 10 February 2016 (UTC)
Anonymous user