Computer Science, asked by deepsahil1295, 8 months ago

Write an algorithm for concatenating two singly linked circular lists. ​

Answers

Answered by Anonymous
3

HERE IS YOUR ANSWER

Algorithm for concatenation

Algorithm for concatenationIf the first linked list is empty then return head2.

Algorithm for concatenationIf the first linked list is empty then return head2.If the second linked list is empty then return head1.

Algorithm for concatenationIf the first linked list is empty then return head2.If the second linked list is empty then return head1.Store the address of the starting node of the first linked. list in a pointer variable, say p.

Algorithm for concatenationIf the first linked list is empty then return head2.If the second linked list is empty then return head1.Store the address of the starting node of the first linked. list in a pointer variable, say p.Move the p to. ...

Algorithm for concatenationIf the first linked list is empty then return head2.If the second linked list is empty then return head1.Store the address of the starting node of the first linked. list in a pointer variable, say p.Move the p to. ...Store the address of the first node of the second linked.

MARK ME AS BRAINLIEST!!!

FOLLOW ME

BYE

Similar questions