From: "Alan (Ursus Major)" Date: 2002-11-01T17:21:32+09:00 Subject: Re: Binary search Check the following web page: http://www.wikipedia.org/wiki/Binary_search Alan Walkington "martin tran" wrote in message news:F50XzQt1aP5N1lf8e460001a43d@hotmail.com... > Hi, I am having problem converting the following algorithm (shown below) > into ruby code. > > :find j such that B[j] <= A[length/2] B[j+1] using binary search > > Can anyone help me please, > > Thanks, > Tim > > > > > _________________________________________________________________ > Broadband? Dial-up? Get reliable MSN Internet Access. > http://resourcecenter.msn.com/access/plans/default.asp > >