We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
My understanding is that the 5 indicates that there will be 5 test cases. The 0 is the first test case. It is null, so unlike the others, there is no line following it with the data elements of the list.
Print the Elements of a Linked List
You are viewing a single comment's thread. Return to all comments →
My understanding is that the 5 indicates that there will be 5 test cases. The 0 is the first test case. It is null, so unlike the others, there is no line following it with the data elements of the list.