Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 416 Bytes

Given a number N followed by an unsorted array of N numbers and a number K, find if there exists a pair of elements in the array whose difference is K. Return count of such pairs.py

File metadata and controls

19 lines (18 loc) · 416 Bytes