Pergunta de entrevista da empresa Fannie Mae

5 balls and a balance scale algorithm question