Challenge 1: Search for a Value in a Linked List
In this lesson, you have to implement the code to search for a value in the linked list.
We'll cover the following
Problem Statement
When given a linked list, the method should return true if a certain value is present in the list or return false if not present in the list.
The following illustration explains this concept.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.