项目作者: Milfist

项目描述 :
Algorithm to find k-complementary pairs
高级语言: Java
项目地址: git://github.com/Milfist/K-Complementary.git
创建时间: 2018-06-27T13:18:28Z
项目社区:https://github.com/Milfist/K-Complementary

开源协议:GNU General Public License v3.0

下载


Java CI with Maven
Maintainability
Test Coverage

K-Complementary

Description

Algorithm to find pairs in which the sum of both is equal to a given value.

Feature

Write an efficient algorithm to find K-complementary pairs in a given array of integers. Given Array
A, pair (i, j) is K- complementary if K = A[i] + A[j];