Pergunta de entrevista da empresa GroundTruth

1) Convert string to integer without using java inbuilt methods