Domanda di colloquio di Google

Convert char string to integer.

Risposte di colloquio

Anonimo

30 dic 2011

Pay attention to integer ranges and negative numbers.

Anonimo

21 feb 2012

One thing to consider is how you compare the result to be greater than Integer.MAX_VALUE... because it will overflow so be cautious of that