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

Method getAllGroupSizes

chapter07/problem_h/Main.java:50–77  ·  view source on GitHub ↗

@brief 문제의 조건에 따라 지도에 존재하는 모든 단지의 크기들을 반환하는 함수 @param isHouse isHouse[r][c] := r행 c열에 집이 존재하는지 여부 (1행 1열 ~ N행 N열) @param N 지도의 크기 @return 모든 단지들의 크기의 리스트, 오름차순으로 정렬해야 한다

(boolean[][] isHouse, int N)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainMethod · 0.95

Calls 3

getLinkedHousesNumberMethod · 0.95
addMethod · 0.80
sortMethod · 0.80

Tested by

no test coverage detected