CPP
CPP copied to clipboard
Element Difference equal to k
Given an array, ‘A’ of sorted integers and another non-negative integer k, find if there exist 2 indices i and j such that
A[i] - A[j] = k i!= j
Required Time Complexity: O(n)
Add CPP file in the daily code folder.
Hey! can I work on this problem
Hey! Can I do PR for this issue?
hi! I would like to contribute to hacktoberfest2020 through your repo.
Given an array, ‘A’ of sorted integers and another non-negative integer k, find if there exist 2 indices i and j such that
A[i] - A[j] = k i!= j
Required Time Complexity: O(n)
Add CPP file in the daily code folder.
Hey! Can I work on this problem?
hi! I would like to contribute to hacktoberfest2020 .Can you assign me this issue?
Would love to work on this issue and make it more efficient.
Given an array, ‘A’ of sorted integers and another non-negative integer k, find if there exist 2 indices i and j such that
A[i] - A[j] = k i!= j
Required Time Complexity: O(n)
Add CPP file in the daily code folder.
Hey! Please I would like to work on this issue. Please assign it to me
I would like to solve this issue, can you help me with getting started?
Please assign me this issue.