Topic: Linked List Problem / Level: intermediate

Problem: Write a function to find the first and last occurrence of a given value in a doubly linked list.

Run the code to see the output here...