Correctness is clearly the prime quality. If a system does not do what it is supposed to do, then everything else about it matters little. Bertrand Meyer
Write a program to count the number of elements in the linked list.
List of Array items: [12, 12, 14, 16, 16] Number 16 count 2 Number 12 count 2 Number 14 count 1