Pregunta de entrevista de Airbus

Chess grid probability problems and Array sorting.