Tesco Bengaluru interview question

Iterate link list in reverse