自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

MasonChen的专栏

点点滴滴。积少成多。厚积薄发

  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

原创 [LeetCode] sort-list

sort-list 题目描述Sort a linked list in O(n log n) time using constant space complexity. 链表排序。。要求用O(n log n)的复杂度。好像只有归并排序比较适合 把链表分成两部分的时候用快慢指针:当快指针遍历结束后,慢指针刚到中间。 /** * Definition for singly-linked

2016-08-12 21:48:47 326

原创 [LeetCode] max-points-on-a-line

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. 给出n个点的坐标,找出在一条线上的点的数量的最大值. 根据斜率统计在一条直线上的点的数量,可以用HashMap作为斜率和数量的映射

2016-08-12 21:37:20 313

原创 [LeetCode] evaluate-reverse-polish-notation

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 e

2016-08-12 21:16:02 257

原创 [LeetCode]Minimum Depth of Binary Tree

题目描述Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node. 二叉树的遍历。递归遍历左右子树,返回最短的路径长度。递归结束的条件是,如

2016-08-12 21:03:31 226

原创 计算机网络七层协议模型

一、物理层(Physical Layer) - OSI模型的最低层或第一层,规定了激活、维持、关闭通信端点之间的机械特性、电气特性、功能特性以及过程特性,为上层协议提供了一个传输数据的物理媒体。 在这一层,协议数据单元为比特(bit)。 属于物理层定义的典型规范代表包括:RS-232、RS-449、RS-485、USB2.0、IEEE-1394、xDSL、X.21、V.35、RJ-45等。 在物理层的互联设

2016-08-01 14:52:36 655

小米路由停电工作教程

前天晚上我家住的这幢楼停电了,路由器没有电了,我那个悲催啊!一直想发帖,突然间给我了提示?断电不断网!好了,就它啦!于是今天中午动手,现在敲打键盘,有了这篇文章!

2014-03-23

空空如也

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

TA关注的人

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