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

Function getNumberOfInversions

chapter06/problem_j/main.cpp:17–64  ·  view source on GitHub ↗

* @brief mergeSort를 수행하며 내부적으로 inversion pair의 수를 계산하는 함수 * arr[left] ~ arr[right]를 merge sort로 정렬한다 * * @param arr * @param left * @param right * @param buffer * @return arr[left] ~ arr[right] 범위에 존재하는 inversion pair의 수를 반환한다 */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected