isDuplicate return minIndex false bool ++ true
int minIndex 最小值 maxIndex swap 指针 元素
int parentIndex minIndex leftIndex param heapSize rightIndex