Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented May 10, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

jjzhao-314 and others added 4 commits April 23, 2023 14:55
为使用两个 Queue 实现添加新方法,方法将q1作为主要的队列,其元素排列顺序和出栈顺序相同,q2仅作为临时放置,push方法中在加入元素时先将q1中的元素依次出栈压入q2,然后将新加入的元素压入q1,再将q2中的元素依次出栈压入q1,其他方法可直接使用Queue中已有的方法。
Update 0225.用队列实现栈.md 添加方法的不同实现
更新 0028.实现strStr Rust版本多余代码删除
@pull pull bot added the ⤵️ pull label May 10, 2023
@pull pull bot merged commit 9d171aa into AlgorithmAndLeetCode:master May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants