When two wave pulses identical in shape but inverted with respect to each other meet at any instant, they form a destructive interference. The complete energy of the system at that instant is stored in the form of potential energy within it. After passing each other, both the pulses regain their original shape.