04 2020 档案
摘要:题目描述 Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may c
阅读全文
摘要:题目描述 Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your
阅读全文
摘要:题目描述 Implement a basic calculator to evaluate a simple expression string. The expression string contains only non-negative integers, +, -, *, / operat
阅读全文
摘要:1.Batch Normalization feature map: ,包含 N 个样本,每个样本通道数为 C,高为 H,宽为 W。对其求均值和方差时,将在 N、H、W上操作,而保留通道 C 的维度。具体来说,
阅读全文
摘要:题目描述 Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The
阅读全文
摘要:题目描述 Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the
阅读全文
摘要:题目描述 Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram"Output: true Exa
阅读全文
摘要:题目描述 Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of th
阅读全文
摘要:题目描述 Given an integer matrix, find the length of the longest increasing path. From each cell, you can either move to four directions: left, right, up
阅读全文
摘要:GB/T7714-2005(《文后参考文献著录规则》)规定有两种参考文献格式,一种是“顺序编码制”,一种是“著者-出版年制”。 顺序编码制。我国绝大多数引用参考文献的著录格式均采用顺序编码制。顺序编码制是按论文的正文部分(包括图、表及其说明)引用的文献首次出现的先后顺序连续编码,参考文献的序号均用阿
阅读全文
摘要:简历表格,表格名称是user 执行如下SQL语句 SELECT * FROM `user` WHERE sex = 1 结果如下: 加入limit和offset之后,limit表示选取多少条数据,offset表示从开始的偏移量 SELECT * FROM `user` WHERE sex = 1 L
阅读全文