07 2019 档案
摘要:Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there isn't
阅读全文
摘要:Given two strings s1 and s2, write a function to return true if s2 contains the permutation of s1. In other words, one of the first string's permutati
阅读全文
摘要:问题定义 TCP是一个“流”协议,所谓流,就是没有界限的一长串二进制数据。TCP作为传输层协议并不不了解上层业务数据的具体含义,它会根据TCP缓冲区的实际情况进行数据包的划分,所以 在业务上认为是一个完整的包 ,可能会被TCP拆分成多个包进行发送,也有可能把多个小的包封装成一个大的数据包发送,这就是
阅读全文
摘要:题目描述码队的女朋友非常喜欢玩某款手游,她想让码队带他上分。但是码队可能不会带青铜段位的女朋友上分,因为码队的段位太高(已经到达王者),恐怕不能和他的女朋友匹配游戏。码队的女朋友有些失落,她希望能尽快冲上王者。这个赛季开始了,求胜心切的码队的女朋友想让码队帮她计算一个问题:这个赛季码队的女朋友一共打
阅读全文
摘要:首先想好: 问题要确定、详细 是什么东西不工作了? 现象和结果是什么? 出什么样的错误? 详细的情况是如何的? 问别人之前先问自己一遍,把这些想清楚了再问别人,节省大家的时间。 提问之前自己先研究调查一下 问别人之前最好自己先找找答案。 对于显而易见的问题,不调查一下就随便去问非常招人讨厌,尤其是在
阅读全文
摘要:在原字符串中把字符串尾部的m个字符移动到字符串的头部。 java / Definition for singly linked list. public class ListNode { int val; ListNode next; ListNode(int x) { val = x; } } /
阅读全文
摘要:Given two binary strings, return their sum (also a binary string). The input strings are both non empty and contains only characters 1 or 0. Example 1
阅读全文
摘要:
阅读全文