自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (10)
  • 收藏
  • 关注

原创 Binary Tree Paths

Given a binary tree, return all root-to-leaf paths.For example, given the following binary tree: 1 / \2 3 \ 5All root-to-leaf paths are:["1->2->5", "1->3"]二话不说,上代码:

2015-08-31 21:40:28 469

原创 Longest Substring Without Repeating Characters —— Leetcode

Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. Fo

2015-08-08 15:01:23 426

原创 Kth Smallest Element in a BST —— Leetcode

Given a binary search tree, write a function kthSmallest to find the kth smallest element in it.Note: You may assume k is always valid, 1 ≤ k ≤ BST's total elements.Follow up:What if the

2015-08-04 11:31:35 485

原创 多线程、IO模型、epoll杂谈

1.面向多核的服务器编程时,多线程并不如多进程,因为对于每个进程来说,资源是独立的,切换core的时候无需考虑上下文;而多线程中,每个线程共享资源,在core切换的时候,资源必须从一个core复制到另一个core才能继续运算。换句话说,在cpu多核的情况下,多线程反而不如多进程。2.浏览器开一个页面,页面中很多图片,下载每个图片开一个线程;迅雷下载的时候是把文件分片

2015-08-03 20:00:09 1217

原创 Redis服务器剖析

本文主要分析redis服务器的工作的实现原理,事件,以及redis与memcache处理高并发请求的对比。1. Redis的工作流程首先从宏观上来看一下redis如何处理一个请求,以set key value为例,分为以下4步:(1) client向server发送命令请求set key valueclient会将set key value转换成协议:*

2015-08-03 19:32:50 569

深入理解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关注的人

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