Wednesday, June 26, 2019

LinkedList problem statement?

Problem statement:
Given a LinkedList as follows, first can you write an algorithm to check whether this LinkedList is 
creating loop or not?
second if yes then how?
1 -> 2 -> 3 -> 4 -> 5 -> 6 ->3

No comments:

Post a Comment

Blueprint for self-improvement

To learn faster: Make the process fun To understand yourself : Write To understand the world better : Read To build deeper connection : Lis...