IP属地:湖南
题目什么的都不贴了,来的人都看过题目,以后这个主要是写给我自己复盘总结,顺便蹭点粉。 代码: 分析:这个时间复杂度是O(n3),主要处理过程就是...
题目: Given an array of n positive integers and a positive integer s, find...
题目: Given a string you need to print the size of the longest possible su...
题目: In a row of trees, the i-th tree produces fruit with type tree[i].Yo...
描述: Given an array A and an integer K. Find the maximum for each and eve...
题干: 效果: 思路: 这道题跟No.15很像,就是要找三数之和,但15是找三数之和为0,这题是找离target最近的和。 首先我们得排序,因为...
去年的10月左右我参加了为期两天一夜的湖南百公里毅行项目,从长沙的中盈广场出发,一直走到了株洲体育中心,全长86km。先看一下百度百科对百公里毅...