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

Function getFrequentNumber

chapter03/problem_a/solution.cpp:29–44  ·  view source on GitHub ↗

* data[0] ~ data[n-1]사이에서 가장 많이 등장한 번호를 반환하는 함수 * @param data * @param n * @return 가장 많이 등장한 번호. 여러개인 경우 사전순으로 가장 빠른 번호. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 1

fillFrequencyTableFunction · 0.70

Tested by

no test coverage detected