Surya Software Interview Question

Second DSA question was reverse linked list. They asked just to explain in psudeo code.