https://www.gravatar.com/avatar/8613a75479af50c38344107afb4e9a1f?s=240&d=mp

无糖拿铁

Sort Colors 解题思路

题目

先把题目放上:

链接:https://leetcode.com/problems/sort-colors

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

Here, we will use the integers 0, 1, and 2 to represent the color red, white, and blue respectively.

Note: You are not suppose to use the library’s sort function for this problem.

从http到https

这个五一折腾了下https,看了加密的建立过程和原理,然后动手实践,把博客从不支持https的阿里云虚机上搬到了新买的腾讯云的主机上,配好了https,这里记录一下。