From: Gavin Sinclair Date: 2002-11-01T13:03:19+09:00 Subject: Re: Binary search From: "martin tran" > 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 I ususally turn out to be wrong in these matters, but my answer is: "only if you explain the algorithm better". Gavin