Pergunta de entrevista da empresa Audible

coding questions, not very hard. e.g. compare version number.