摘要:
什么是TCP? TCP的三次握手? 所谓三次握手,即建立TCP连接,也就是指建立一个TCP连接时,需要客户端和服务端总共发送3个包以确认连接的建立。在socket编程中,这一过程由客户端进行connect来触发,整个流程图如下: 第一次握手:客户端(Client)将标志位SYN置为1,随机产生一个值 阅读全文
摘要:
题目描述 A message containing letters fromA-Zis being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded mes 阅读全文
摘要:
题目描述 Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given t 阅读全文
摘要:
题目描述 There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the followi 阅读全文