- 博客(5)
- 收藏
- 关注
转载 使用openssl 生成免费证书
一:什么是openssl? 它的作用是?应用场景是什么? 即百度百科说:openssl是一个开放源代码的软件库包,应用程序可以使用这个包来进行安全通信,它可以避免信息被窃听到。 SSL是Secure Sockets Layer(安全套接层协议)的缩写,可以在Internet上提供秘密性传输。Netscape(网景)公司在推出第一个Web浏览器的同时,提出了SSL协议标准。其目标是保证两个应用间...
2019-07-27 10:28:47 276
转载 centos7 安装vnc出现unable to connect socket
centos从7开始默认用的是firewalld,这个是基于iptables的,虽然有iptables的核心,但是iptables的服务是没安装的。所以你只要停止firewalld服务即可: sudo systemctl stop firewalld.service && sudo systemctl disable firewalld.service ...
2019-07-25 20:56:08 2626
原创 冒泡排序的三种优化
Find out whyhaveIfailed! /* * 思考:什么叫优化,冒泡排序主要消耗时间的地方在哪里, * 主要是在比较和交换元素,耗时操作。 * 只要减少比较和交换元素的次数就可以起到优化的作用 */ #include <stdio.h> #include <stdlib.h> #include <time.h> /* 普...
2019-07-15 23:59:43 258
原创 LeetCode-75. Sort Colors
75.Sort Colors Medium 1715160FavoriteShare Given an array withnobjects colored red, white or blue, sort themin-placeso that objects of the same color are adjacent, with the colors in the order...
2019-07-07 15:52:21 146
原创 LeetCode-516. Longest Palindromic Subsequence
516.Longest Palindromic Subsequence Medium 913132FavoriteShare Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum length of s is 1000. Examp...
2019-07-03 23:43:10 97
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人