Pergunta de entrevista da empresa Fast Enterprises

Problem solving question about rocks.