HTTP 简介
HTTP 简介
HTTP协议是Hyper Text Transfer Protocol(超文本传输协议)的缩写,是用于从万维网(WWW:World Wide Web )服务器传输超文本到本地浏览器的传送协议。。
HTTP是一个基于TCP/IP通信协议来传递数据(HTML 文件, 图片文件, 查询结果等)。
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.
Given a list of daily temperatures T, return a list such that, for each day in the input, tells you how many days you would have to wait until a warmer temperature. If there is no future day for which this is possible, put 0 instead.
For example, given the list of temperatures T = [73, 74, 75, 71, 69, 72, 76, 73], your output should be [1, 1, 4, 2, 1, 1, 0, 0].
Note: The length of temperatures will be in the range [1, 30000]. Each temperature will be an integer in the range [30, 100].
Given a 2D binary matrix filled with 0’s and 1’s, find the largest square containing only 1’s and return its area.
Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.
1 | import torch |