Detect Loop In Linked List – Interview Question
To begin with you can draw a linked list on the whiteboard. A linked list has nodes in it which are connected to each other. Each node has two components: the value and reference to next node. The head node points to the first element of the linked list. The first thing that comes to…
Read more
Recent Comments