Given a two linked list L1 and L2. Our goal is to identified given linked list are identical or not.

Following condition of identical linked list1) Number of node are same

2) Node data are equal/p>

#### Example Accepted Output

Case One

Given list is :

12-->44-->64-->91-->44-->33-->13-->44--->NULL

12-->44-->64-->91-->44-->33-->13-->44--->NULL

Result :

Case two

Given list is :

12-->44-->64-->91-->44-->33-->13-->44--->NULL

12-->44-->64-->91-->44-->33-->13-->44--->32--->NULL

Result :

C program for Check two Linked Lists are Identical or not

Titile of code
```
-------Case One-------

15  51  63  21  52  51  51  23
15  51  63  21  52  51  51  23

-------Case Two-------

65  22  63  44  52  51  51  23
65  22  63  44  52  51  51  23  42

This linked list not equal (identical)

Free linked list Node element  ```

Try it yourself

## Check identical of linked list using recursion

Function to check identical linked list

Time complexity of this program O(n)

C program to check identical of two linked list using recursion.

OutPut

Try it yourself