About jundalou

This author has not yet filled in any details.
So far jundalou has created 27 blog entries.

232. Implement Queue using Stacks用栈实现队列【单题解析系列】

无法播放?请 点击这里 跳转到Youtube 切换视频源: 题目链接:https://leetcode.com/problems/implement-queue-using-stacks/ GitHub答案源代码请点击这里 class MyQueue { Deque<Integer> stack1; Deque<Integer> stack2; /** Initialize your data structure here. */ public MyQueue() { stack1 = new ArrayDeque<>(); stack2 = new ArrayDeque<>(); } /** Push element x to the back of queue. */ public void push(int x) { stack1.push(x); } /** Removes the element from in

By |2021-03-01T05:56:35+00:00February 28th, 2021|LeetCode, Leetcode题目讲解|2 Comments

Top Sliding Bar

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.

Recent Tweets

Newsletter

Sign-up to get the latest news and update information. Don't worry, we won't send spam!

[contact-form-7 id="3145" title="Sliding Bar Form"]
Go to Top