C/C++
WT_panda
这个作者很懒,什么都没留下…
展开
-
C++相关经验
以下记录相关C++项目经验,原创 2014-10-31 11:13:00 · 383 阅读 · 0 评论 -
LeetCode代码记录 24 Swap Nodes in Pairs
题目如下: Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only consta原创 2016-06-30 17:03:08 · 279 阅读 · 0 评论 -
leetcode代码记录 232 Implement Queue using Stacks
题目如下: 232. Implement Queue using Stacks Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue.pop() -- Removes the element from in front原创 2016-07-04 16:47:30 · 204 阅读 · 0 评论