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

Method getPossibleTargets

chapter03/problem_j/Main.java:17–70  ·  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 3

addMethod · 0.80
sortMethod · 0.80
binarySearchMethod · 0.80

Tested by

no test coverage detected