自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 Leetcode题解:Counting Bits

原题:Counting Bits难度:MediumGiven a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1’s in their binary representation and return them as an arra...

2018-11-17 22:39:13 163

原创 Leecode题解:longest-valid-parentheses

原题网址:https://leetcode.com/problems/longest-valid-parentheses/难度:HardGiven a string containing just the characters ‘(’ and ‘)’, find the length of the longest valid (well-formed) parentheses substr...

2018-11-17 21:55:35 381

原创 golang net/http包部分实现原理详解

net/http包在编写golang web应用中有很重要的作用,它主要提供了基于HTTP协议进行工作的client实现和server实现,可用于编写HTTP服务端和客户端。其使用方法也跟其他面向对象语言很相似,我们可以先从它的一些基础用法来感受一下:以下是示例客户端代码:// 用http包中默认的Client进行请求(因为没有指定Client)resp, err := http.Get(...

2018-11-16 13:51:47 3933

原创 Leetcode题解:unique-path

原题网址:https://leetcode.com/problems/unique-paths/A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below).The robot can only move either down or right at any ...

2018-11-11 20:00:28 233

空空如也

空空如也

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

TA关注的人

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