Nextlabs Interview Question
4 Interview Reviews |
Back to all Nextlabs Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for Java Engineer at Nextlabs:
1. Implement the following function: int findMax(int[] items) { }
| Tags: | java See more , See less 8 |
Helpful Question?
Yes |
No
Inappropriate?
0 of 0 people found this helpful
by Interview Candidate:
{
int maxValue = items[0];
for(int i=1;i < items.length();i++){
if (items[i] > maxValue){
maxValue = items[i];
}
}
system.out.println(maxValu);
}