MCPcopy Create free account
hub / github.com/dongyi-kim/10weeks-codingtest / getPossibleTargetNumber

Method getPossibleTargetNumber

chapter03/problem_h/Main.java:17–50  ·  view source on GitHub ↗

중복을 포함해 두 카드의 합으로 만들 수 있는 당첨번호의 수를 계산하는 함수 @param n 카드의 수 @param m 검사하려는 당첨번호의 수 @param cards 각 카드에 적힌 숫자들 @param target 검사하려는 각 당첨번호 리스트 @return

(int n, int m, int[] cards, int[] target)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainMethod · 0.95

Calls 2

sortMethod · 0.80
binarySearchMethod · 0.80

Tested by

no test coverage detected