LowerBound and UpperBound in Java

Discussion on Java at the COJ. This is the place to clear your doubts about these languages, and to share with the community the new things you learn about them.
Post Reply
User avatar
jose92
Posts: 24
Joined: 5 years ago
Location: Cienfuegos
Gender: None specified

LowerBound and UpperBound in Java

Post by jose92 » 2 years ago

I've always wondered if is possible to do lowerBound and upperBound search in Java only using Java functions?
Any help would be great, thanks in advance.
Greetings.



User avatar
isaac
Posts: 83
Joined: 3 years ago
Gender: None specified

Re: LowerBound and UpperBound in Java

Post by isaac » 2 years ago

No se si se puede con funciones nativas de Java, pero si es bastante facil de implementar. Al final es solo una busqueda binaria.

Post Reply

Return to “Java”