Deloitte interview question

Reverse the link list present with given complexity