Smallest Difference


Premium Content - Free Preview

Sorting is often useful as the first step in many different tasks. The most common task may to be make things easier to find later, but there are other uses also.

Challenge
Given a list of unsorted numbers, can you find the pair of numbers that have the smallest difference between them?


End of Free Content Preview. Please Sign in or Sign up to buy premium content.

Contact Us
Sign in or email us at [email protected]