Linked list palindrome

i have reversed the linked list from half and then compared it. the output is coming right in all cases but while submitting it is exceeding time limit. can you tell me how can i resolve it?