DXC Technology interview question

Reverse A linked list in any programming language