IncredibleThings

导航

2016年5月25日 #

LeetCode-Palindrome Linked List

摘要: 二刷, 注意findmid时候fast的起始点位和如何跳出while循环: 阅读全文

posted @ 2016-05-25 03:55 IncredibleThings 阅读(125) 评论(0) 推荐(0) 编辑

LeetCode-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 of queue. peek() -- Get the front element. empt... 阅读全文

posted @ 2016-05-25 00:55 IncredibleThings 阅读(105) 评论(0) 推荐(0) 编辑