Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example 1: Input:nums = ...
分类:
其他好文 时间:
2018-01-13 20:51:43
阅读次数:
142
Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example 1: Note: ...
分类:
其他好文 时间:
2018-01-13 11:19:26
阅读次数:
143
leetcode 第一天 2017年12月24日 第一次刷leetcode真的是好慢啊,三道题用了三个小时,而且都是简单题。 数组 1.(674)Longest Continuous Increasing Subsequence JAVA Python 2.(283)Move Zeroes JAVA ...
分类:
其他好文 时间:
2017-12-26 00:46:22
阅读次数:
145
一、回归和分类 回归(regression)y变量为连续数值型(continuous numerical variable),如房价,降雨量。 分类(classification)y变量为类别型categorical variable。如颜色类别,电脑品牌等。 二、统计量:描述数据特征 2.1集中趋 ...
分类:
其他好文 时间:
2017-12-25 00:54:48
阅读次数:
148
01-复杂度2 Maximum Subsequence Sum(25 分) Given a sequence of K integers { N?1??, N?2??, ..., N?K?? }. A continuous subsequence is defined to be { N?i??, ...
分类:
其他好文 时间:
2017-12-18 11:58:55
阅读次数:
122
互联网软件的开发和发布,已经形成了一套标准流程,最重要的组成部分就是持续集成(Continuous integration,简称CI)。 本文简要介绍持续集成的概念和做法。 一、概念 持续集成指的是,频繁地(一天多次)将代码集成到主干。 它的好处主要有两个。 (1)快速发现错误。每完成一点更新,就集 ...
分类:
其他好文 时间:
2017-12-09 12:02:17
阅读次数:
213
1jenkins介绍-在说jenkins之前我们先来看看一个互联网公司上线的一个流程:以共享单车为例:(充值-交押金-骑车)-开始设计产品成型-开发人员开发代码-测试人员测试功能-运维人员发布上线来看张图来更好的理解下持续集成(Continuousintegration,简称CI)持续交付(Continuous..
分类:
其他好文 时间:
2017-11-20 20:24:35
阅读次数:
198
Given a list of non-negative numbers and a target integer k, write a function to check if the array has a continuous subarray of size at least 2 that ...
分类:
其他好文 时间:
2017-11-13 18:22:55
阅读次数:
137
Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example 1: Note: ...
分类:
其他好文 时间:
2017-11-13 17:00:15
阅读次数:
114
使用一个Map维护数字出现的次数,使用一个链表维护只出现一次的数,使用一个变量记录是否找到过终止数字。 AC代码:public class Solution { /* * @param : a continuous stream of numbers * @param : a number * @r... ...
分类:
其他好文 时间:
2017-11-10 01:49:30
阅读次数:
303