Question

A data sequence 0101 is shown below. which waveform is the Return Zero (RZ) code of the data 0101?

Fig: 1

Fig: 2