Skip to content

初始堆时起始指针问题#38

Open
qrqhuang wants to merge 1 commit intohustcc:masterfrom
qrqhuang:heap
Open

初始堆时起始指针问题#38
qrqhuang wants to merge 1 commit intohustcc:masterfrom
qrqhuang:heap

Conversation

@qrqhuang
Copy link

@qrqhuang qrqhuang commented May 3, 2020

初始堆时, 应该从最后一个非叶子结点开始。
对应下标应为: len / 2 - 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant