+1 (218) 451-4151
glass
pen
clip
papers
heaphones

1. Suppose you are given two circularly linked lists, L and M. Describe an algorithm for telling…

1. Suppose you are given two circularly linked lists, L and M. Describe an algorithm for telling…

1. Suppose you are given two circularly linked lists, L and M. Describe an algorithm for telling if L and M store the same sequence of elements (but perhaps with different starting points).2. Given a circularly linked list L containing an even number of nodes, describe how to split L into two circularly linked lists of half the size.