Element Difference equal to k
Đang mở
algorithms
C
CPP
good first issue
hacktoberfest
Hacktoberfest2020
- Ngôn ngữ chính
- C++
- Star
- 504
- Fork
- 436
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.