自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(6)
  • 收藏
  • 关注

转载 leetcode 155 最小栈

背景设计一个支持 push,pop,top 操作,并能在常数时间内检索到最小元素的栈。push(x) -- 将元素 x 推入栈中。pop() -- 删除栈顶的元素。top() -- 获取栈顶元素。getMin() -- 检索栈中的最小元素。示例:MinStack minSta...

2019-03-12 23:01:00 70

转载 leetcode Walls and Gates

背景You are given a m x n 2D grid initialized with these three possible values.-1 - A wall or an obstacle.0 - A gate.INF - Infinity means a...

2019-02-20 22:04:00 86

转载 leetcode Shortest Distance from All Buildings

背景You want to build a house on an empty land which reaches all buildings in the shortest amount of distance. You can only move up, down, left and ...

2019-02-20 22:00:00 118

转载 leetcode 417 Pacific Atlantic Water Flow

背景Given an m x n matrix of non-negative integers representing the height of each unit cell in a continent, the "Pacific ocean" touches the left an...

2019-02-20 21:45:00 85

转载 图 Graph

1. 图的相关术语阶(Order)图的顶点数。子图(Sub-Graph)如果一个图的顶点集包含于另一个图的顶点集,并且边集也包含于另一个图的边集,那么这个图就是另一个图的子图。度(Degree)与这个顶点关联的边的条数。入度(In-Degree)和出度(Out-D...

2019-02-17 17:43:00 110

转载 构建Dockerfile报错 "docker build" requires exactly 1 argument

背景最近工作需要,用Dockerfile来构建镜像,找来的文档如下https://yeasy.gitbooks.io/docker_practice/content/image/build.html$ docker build -t nginx:v3 .Sending build ...

2019-02-14 00:17:00 1592

空空如也

空空如也

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

TA关注的人

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