题目描述Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [-2,1,-3,4,-1... ...
分类:
其他好文 时间:
2020-02-01 12:30:58
阅读次数:
94
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number ...
分类:
其他好文 时间:
2020-02-01 11:00:07
阅读次数:
87
73. Set Matrix Zeroes Given a $m \times n$ matrix, if an element is 0, set its entire row and column to 0. Do it in place. Example 1: Example 2: Follo ...
分类:
其他好文 时间:
2020-02-01 10:24:53
阅读次数:
56
对于 Vue.nextTick 方法,自己有些疑惑。在查询了各种资料后,总结了一下其原理和用途,如有错误,请不吝赐教。 概览 官方文档说明: 用法: 在下次 DOM 更新循环结束之后执行延迟回调。在修改数据之后立即使用这个方法,获取更新后的 DOM。 疑问: DOM 更新循环是指什么? 下次更新循环 ...
分类:
其他好文 时间:
2020-02-01 01:01:31
阅读次数:
120
一、SAMBA服务简介 samba是1991年由Andrew Tridgel开发实现,主要用于Windows和unix文件共享。samba实现了共享文件和打印,实现在线编辑,登录SAMBA用户的身份认证,可以进行NetBIOS名称解析和外围设备共享。相关的软件包有samba,这个包主要提供smb服务 ...
分类:
系统相关 时间:
2020-02-01 00:42:54
阅读次数:
102
61. Rotate List Given a linked list, rotate the list to the right by k places, where k is non negative. Example 1: Example 2: 思路:首先算出链表的长度(因为平移的时候以长度为 ...
分类:
其他好文 时间:
2020-01-31 18:46:14
阅读次数:
49
验证二叉搜索树。题目即是题意。二叉搜索树的特性是对于每个node而言,他的左子树上任意节点都比他自身小,右子树上任意节点都比他自身大。这个题也是有两种做法,迭代和递归。时间空间复杂度都是O(n)。例子, Example 1: 2 / \ 1 3 Input: [2,1,3] Output: true ...
分类:
其他好文 时间:
2020-01-31 10:43:30
阅读次数:
66
``` 4.0.0 com.example myproject 0.0.1-SNAPSHOT org.springframework.boot spring-boot-starter-parent 2.3.0.BUILD-SNAPSHOT ... ...
分类:
其他好文 时间:
2020-01-31 10:42:15
阅读次数:
60
霍夫直线变换介绍 霍夫圆检测 现实中: example ...
分类:
编程语言 时间:
2020-01-31 10:41:56
阅读次数:
78