Performance Competition: Find least frequent number in a list (C#)
<p>
Given a list of numbers (IList<int>) containing arbitrary numbers, find a number in the list with the least number of occurrences.
</p>
<p>
If the list is null or empty return null
</p>
<p>
If there are more than one numbers with the same least number of occurrences, returning any of the numbers is valid.
</p>
<p>
e.g. In the list below, the number 8 occurs only once while all other numbers occur more than once. Hence the result is 8 <br />
<table bordercolor=
volatileread.com