Skip to content

Conversation

@RaySky-Rt
Copy link

对有问题的代码部分进行了修正,优化了原有代码的逻辑与可读性,增加了详细的注释,对题目样例进行了解释

对有问题的代码部分进行了修正,优化了原有代码的逻辑与可读性,增加了详细的注释,对题目样例进行了解释
Copy link
Owner

@Charles-IX Charles-IX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"op" is the abbreviation for "operator".
When pushing data onto the stack, I prefer i++ and when using them I will use i--, So that shouldn't have been a problem.
However, I misunderstood "按给定顺序分别压入堆栈 S1​ 和 S2​", and thought number should be put into the array in the order that they are given.

@Charles-IX Charles-IX closed this Jan 11, 2024
@Charles-IX Charles-IX reopened this Feb 2, 2024
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.

2 participants