自定义博客皮肤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)
  • 资源 (10)
  • 收藏
  • 关注

原创 Binary Tree Right Side View —— Leetcode(精巧的方法,第二遍)

Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.For example:Given the following binary tree, 1

2015-05-06 21:55:56 1281

原创 Linked List Cycle —— Leetcode

Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?这题大部分刷题书上都有,定义两个指针,一个快一个慢,快的每次走两步,慢的每次走一步,如下情况为有环情况:我的代码还是挺简洁的,如下:/** * D

2015-05-05 20:15:07 504

原创 Plus One —— Leetcode

Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.注意点:1. insert的运用 2.

2015-05-04 16:57:48 456

原创 Add Binary —— Leetcode(重做)

Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100".这题不难,从后往前;难的是如何使代码变得更简洁,参考如下代码:class Solution {public: string addBinary(s

2015-05-04 16:23:23 457

原创 Remove Duplicates from Sorted List —— Leetcode

Given a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->2, return 1->2.Given 1->1->2->3->3, return 1->2->3.一次通过,自认为方法还是比较简洁的,关于头的定

2015-05-04 10:04:22 470

原创 Merge Sorted Array —— Leetcode

Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements fro

2015-05-03 21:15:45 447

原创 Count Primes —— Leetcode

Description:Count the number of prime numbers less than a non-negative number, nclick to show more hints.References:How Many Primes Are There?Sieve of Eratosthenes参考References第二个

2015-05-02 22:17:44 2861

原创 Symmetric Tree —— Leetcode

Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ 2 2 / \ / \3 4 4 3But the f

2015-05-02 16:10:05 505

原创 Same Tree —— Leetcode

Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical and the nodes have the same value.递归之下,简单的不能

2015-05-01 22:35:07 424

深入理解linux虚拟内存管理(中文版)

深入理解linux虚拟内存管理(中文版)扫描版

2013-04-10

Cisco IP Routing: Packet Forwarding and Intra-domain Routing Protocols

Focusing on intra-domain dynamic routing protocols this book provides an in-depth understanding of IP routing and forwarding technologies, and their implementation within Cisco routers.

2012-05-03

dynamips路由模拟软件及源码

资源包括dynamips路由模拟软件及源码,软件运行需要Winpcap

2012-04-26

泛型编程与设计新思维

永远记住,编写代码的宗旨在于简单明了,不要使用语言的冷僻特征,耍小聪明,重要的是编写你理解的代码,理解你编写的代码,这样你可能会做的更好。

2012-03-19

Linux命令大全

很全的Linux命令集合,包括每个命令的功能说明、语法、补充说明、参数等,支持索引查询,很好的一本书

2012-03-15

国标软件设计文档

操作手册、测试分析报告、测试计划、概要设计说明书、开发进度月报、可行性研究报告、软件需求说明书

2012-03-15

空空如也

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

TA关注的人

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