Pergunta de entrevista da empresa Google

Convert char string to integer.

Respostas da entrevista

Sigiloso

30 de dez. de 2011

Pay attention to integer ranges and negative numbers.

Sigiloso

21 de fev. de 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