This is the code accompanying a tutorial on solving the problem of the algorithic challenge from HackerRank which asks to find the pairs of numbers out of a set of numbers N that have difference K. Link to the blogpost is here: http://lefteris.realintelligence.net/?p=1182