Pregunta de entrevista de Five Rings

HR said the tech interview will be on probability but being asked algorithm.