Pregunta de entrevista de Cogitativo

Basic coding algorithms and good coding practice, one probability problem. Also my approach for model building.