We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
然后我们再根据以下公式则能够判断队列满没满了。 (rear+1)%queuesize==front queuesize,代表队列的长度,上图为5。我们来判断上面两张图是否满。(4+1)%5==0,(1+1)%5==3 两种情况都是满的,over。
在循环队列一节中,最后判断队列是否已满,(1+1)%5==3的计算结果应为2.
(1+1)%5==3
The text was updated successfully, but these errors were encountered:
嗯嗯,这里修改了
Sorry, something went wrong.
@chefyuan 回答一下#24
No branches or pull requests
在循环队列一节中,最后判断队列是否已满,
(1+1)%5==3
的计算结果应为2.The text was updated successfully, but these errors were encountered: