Pinterest interview question

Where does vanishing gradients happen