摘要: You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl 阅读全文
posted @ 2017-11-26 12:40 __Meng 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 用两个栈来实现一个队列,完成队列的Push和Pop操作。 队列中的元素为int类型。 C++: Java: 阅读全文
posted @ 2017-11-26 12:17 __Meng 阅读(222) 评论(0) 推荐(0) 编辑