Pergunta de entrevista da empresa K2L CANBERRA

PAC algorithm, which is based on my own experience.