MITRE interview question

Black box question on algorithms