Give the solution of the 2_1 of linkedList in DataStructure