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

Function divideArrayByPivot

chapter06/problem_h/main.cpp:50–79  ·  view source on GitHub ↗

* @brief arr[left] ~ arr[[right] 범위를 피봇 기준으로 좌우를 나눈다 * 피봇의 왼쪽은 피봇 보다 작은 원소만, 피봇의 오른쪽은 피봇보다 큰 원소만 남긴다 * * @param arr * @param left * @param right * @param pivotIndex * @return 피봇이 위치하는 중간 지점의 인덱스를 반환한다 */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

quickSortFunction · 0.85

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected