3 ms·
The use of: int high = a.length - 1; tells us that a.length-1 is supposed to fit into an int, so there is no need to handle 2³¹ or larger.
by eesmith 2y ago
The use of:
int high = a.length - 1;
tells us that a.length-1 is supposed to fit into an int, so there is no need to handle 2³¹ or larger.
- rob_c 2y agoYep. No story here, feel free to move on...