自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (1)
  • 收藏
  • 关注

原创 Linked List Cycle

Description: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space?

2014-08-23 12:35:42 187

原创 Binary Tree Preorder Traversal

Description: Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 \ 2 / 3 return [1,2,3]. Note: Recursive

2014-08-23 12:04:32 172

原创 Binary Tree Postorder Traversal

Description: Given a binary tree, return the postorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 \ 2 / 3 return [3,2,1]. Note: Recursive

2014-08-23 12:03:19 137

原创 LRU Cache

Description: Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the value (will always be positive)

2014-08-23 11:52:16 249

原创 Insertion Sort List

Description: Sort a linked list using insertion sort.

2014-08-23 10:31:17 131

原创 Sort List

Description: Sort a linked list in O(n log n) time using constant space complexity.

2014-08-23 09:48:33 167

原创 Max Points on a Line

Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 思路: 这是一道

2014-08-22 23:47:23 127

原创 Evaluate Reverse Polish Notation

Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another expression. Some examples: ["2", "1", "+",

2014-08-22 22:48:31 161

原创 Reverse Words in a String

Description: Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". Clarification: What constitutes a word? A sequence o

2014-08-22 22:22:49 233

netlink学习文档

netlink socekt 是一种用于在内核态和用户态进程之间进行数据传输的特殊的IPC 。它通过为内核模块提供一组特殊的API ,并为用户程序提供了一组标准的socket接口的方式,实现了一种全双工的通讯连接。

2013-10-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除