Sponsored
Use these hints if you're stuck. Try solving on your own first.
Traverse the linked list and keep the number of occurrences of values using a HashMap.
Solve with full IDE support and test cases