Answer:
when the mass has no displacement
Explanation:
The kinetic energy of the mass reaches its maximum value and therefore its acceleration is maximum, in its equilibrium position, that is, when the spring is not compressed or elongated. Thus, when the mass has no displacement, all the energy of the system is in the form of the kinetic energy of the mass.