Find pairs with given difference K in the array | Hacker News Reader