- 博客(4)
- 收藏
- 关注
原创 DeBug Technique for Algorithm Problems
First things first, make sure you fully understand the problem! instead of looking somewhat similar or read and stop thinking about: oh, I’ve meeting this problem before, so I don’t have to continuing...
2020-03-31 12:33:25 121
原创 Approach the Problem Using the "trial and error" Algorithm
starting from Leetcode 719 find kth smallest pair distance. let’s take a look at this problem: Given an integer array, return the k-th smallest distance among all the pairs. The distance of a pair (A,...
2020-03-31 12:31:30 326
原创 TCP与UDP,TCP的三次握手和四次挥手
TCP three handshake and four handwave 首先来看一下什么是TCP协议: 事实上,TCP协议只是互联网四层模型(TCP/IP)对应协议的一层。此四层模型用于实现互联网上主机之间的相互通信。 应用层协议 TCP/UDP(传输层协议) IP(网络层协议) 以太网协议 与OSI七层模型包含的协议层层对应,同样最底层的以太网数据包里面包含了以太网表头,IP标头,TCP...
2020-03-31 12:02:37 266
原创 计算机OSI七层模型
OSI: open system interconnect(开放系统互连) 其核心思想:1. 通信两端的主机能够理解对方的语言(这要求主机使用相同协议格式来发送数据)2. 通信系统模块化,每个模块提供标准接口。 以TCP/IP为框架模型,指定了七层的OSI参考模型(及其包含的部分常见协议): 应用层:FTP,WWW, SMTP 表示层: TIFF, GIF, JPEG, MPEG, MIDI, A...
2020-03-31 10:16:00 165
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人