- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 LeetCode: 80. Remove Duplicates from Sorted Array II
LeetCode刷题:80. Remove Duplicates from Sorted Array II题目描述:Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new length.Do not allo...
2019-09-03 19:13:23
123
原创 LeetCode:77. Combinations
【Leecode刷题】77题. Combinations题目:Given two integers n and k, return all possible combinations of k numbers out of 1 … n.测试样例:Input: n = 4, k = 2Output:[[2,4],[3,4],[2,3],[1,2],[1,3],[1,4],]...
2019-09-01 01:35:10
115
原创 Kerberos认证协议
安全协议:Kerberos认证协议一、简介Kerberos由MIT于1988年开发,用于分布式环境中,完成服务器与用户之间的相互认证。设计者的设计初衷是要用Kerberos的三个头来守卫网络之门。三个头分别包括:认证、账目清算和审计。Kerberos要解决的问题在一个开放的分布式网络环境中,用户通过工作站访问服务器提供的服务,存在许多问题:工作站上的用户可以冒充另一个用户操作用户可以...
2019-05-14 17:25:59
3604
原创 【C++】常量指针与指针常量
【C++】常量指针与指针常量 1.常量指针 形如: int const* p 或 const int* p, p称为 常量指针 。 【例1】#include <iostream>using namespace std;int main(){ int const* p;//常量指针 int a...
2018-09-09 22:33:25
323
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人