Pergunta de entrevista da empresa Tyler Technologies

How do you find a largest number in an array? Write out the code in the whiteboard.

Respostas da entrevista

Sigiloso

23 de ago. de 2018

I wrote out something like this: for (int counter = 1; counter max) { max = decMax[counter]; } } System.out.println("The highest maximum for the December is: " + max);

Sigiloso

22 de nov. de 2020

Should be something like this: int currentMax = 0; for(int i = 0; i currentMax) currentMax = array[i]; } return currentMax