diff --git a/Check if Linked List is Palindrome b/Check if Linked List is Palindrome new file mode 100644 index 0000000..8a5ae96 --- /dev/null +++ b/Check if Linked List is Palindrome @@ -0,0 +1,15 @@ +bool isPalindrome(Node *head) +{ + //Your code here + string h=""; + while(head!=NULL){ + h+=to_string(head->data); + head=head->next; + } + int i=0,j=h.length()-1; + while(i