Pergunta de entrevista da empresa Five Rings

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