记录前端面试题
秋招面经
记录 2021 年秋招前端实习生面试
React.js 记录
记录 React.js 的一些知识点
春招面经
记录 2021 年春招前端实习生面试
算法:SPFA算法
SPFA的板子
Educational Codeforces 107 (Div.2)
Educational Codeforces Round 107, div.2
算法:Dijkstra算法
Dijkstra + DFS的板子
CCF-202012-3: 带配额的文件系统
CCF认证202012-3,一道很复杂的大模拟
CS144: 2. Transport
Stanford课程CS144,介绍运输层
CS144: 1. Internet and IP
1. Network Applications
- Read and write data over network
- Dominant model: bidirectional, reliable byte stream connection
- One side reads what the other writes
- Operates in both directions
- Reliable (unless connection breaks)
Blow we will introduce three examples: the world wide web, BitTorrent and Skype
- the world wide web: A client-server model. A client opens a connection to a server and requests documents. The server responds with the documents.
- BitTorrent: A peer-to-peer model. Swarms of clients open connections to each other to exchange pieces of data, creating a dense network of connections.
- Skype: A mix of the two models. When Skype clients can communicate directly, they do so in a peer-to-peer fashion. But sometimes the clients can’t open connections directly, and so instead go through rendezvous or relay servers.