Hello, here's the deal...

I have an ordered array containing 'Person' objects. The array is
ordered by the city the person lives in.

My array contains people from 2 different cities.

Now i need to find the highest index of the first city in the array
using a binairy search algoritm, i have had several tries but i can't
seem to figure it out, so i was hoping some of you could help me
out...

The programming language is Java, but i guess that doesn't realy
matter much.

Thanks in advance,
Dennis

--

You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=.


Reply via email to