Re:Fast midpoint between two integers without overflow
by mojuba on Wednesday December 07, 2022 @02:59PM
(#33899413)
The question was: what is the range of possible values of the int type in Java? (In the context of finding the middle problem)
"256" is a ridiculously bad answer on multiple levels. Believe me, I heard it from more than one Java developer with a CS degree and at least 5 years of experience at the time.
"256" is a ridiculously bad answer on multiple levels. Believe me, I heard it from more than one Java developer with a CS degree and at least 5 years of experience at the time.