Fast Enterprises Interview Question

Problem solving question about rocks.