The equivalent resistance between A and B is
20 ohm if VA>VB
30 ohm ifVA>VB
zero if VA>VB and 50 ohm if VA <VB
zero if VA>VBand 50 ohm if VA<VB
If VA>VB all the diodes are in the forward bias so resistance of the circuit is zero.but if VA<VB only the middle diode will be in forward bias so resistance of the ciruit will be 50 ohm