Sprinklr interview question

Q:Program a reverse linked list.