Pregunta de entrevista de Nokia

some questions from java python and c++