golang gctrace分析gc过程

gctrace主要是用于跟踪GC的不同阶段的耗时与GC前后的内存量对比。可以用于对runtime本身进行调试之外，还可以观察线上应用的GC情况。

golang 标准库 time/rate 介绍

golang官方库中有一个rate包，实现了令牌桶算法。

Array - 309. Best Time to Buy and Sell Stock with Cooldown

Design an algorithm to find the maximum profit.

Array - 55. Jump Game

Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position.

Array - 75. Sort Colors

Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white and blue.

golang实现BST和AVL

AVL树得名于它的发明者 G. M. Adelson-Velsky和 E. M. Landis，他们在1962年的论文《An algorithm for the organization of information》中发表了它，它是最早的自平衡二分搜索树。

redis设计与实现系列1-SDS

redis自己构建的一种名为简单动态字符串（simple dynamic string，SDS）的抽象类型。

Docker快速部署一个属于你自己的博客

Docker快速部署一个solo博客

Array - 31. Next Permutation

Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.

Array - 34. Find First and Last Position of Element in Sorted Array

Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value.

string- 43. Multiply Strings

Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string.

Array - 48. Rotate Image

You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise).