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

Method getGlobalPeriod

chapter04/problem_d/Main.java:16–19  ·  view source on GitHub ↗

모든 수열이 동시에 최초의 원소를 만나는 최소 주기를 계산하는 함수 @param n 수열의 수 @param sizes 각 순환 수열의 길이(주기) @return

(int n, long[] sizes)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainMethod · 0.95

Calls 1

getLCMMethod · 0.95

Tested by

no test coverage detected