码迷,mamicode.com
首页 >  
搜索关键字:minimum    ( 3256个结果
Codeforces 581F Zublicanes and Mumocrates - 树形动态规划
It's election time in Berland. The favorites are of course parties of zublicanes and mumocrates. The election campaigns of both parties include numero ...
分类:其他好文   时间:2018-02-05 16:03:25    阅读次数:129
笔记:RMQ(区间最值)之ST算法
RMQ(区间最值)之ST算法 RMQ即Range Minimum/Maximun Query 中文意思:查询一个区间的最小值/最大值 比如有这样一个数组:A{3 2 4 5 6 8 1 2 9 7},然后问你若干问题: 数组A下标2~7区间最小的值是多少? 最小值是(1) 数组A下标3~6区间最小的 ...
分类:编程语言   时间:2018-02-04 11:07:43    阅读次数:228
[Leetcode] Minimum Depth of Binary Tree
Minimum Depth of Binary Tree 题解 题目来源:https://leetcode.com/problems/minimum depth of binary tree/description/ Description Given a binary tree, find its ...
分类:其他好文   时间:2018-02-03 15:55:25    阅读次数:141
写网站经常需要用到的代码汇总
常用视口 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"> viewport 是用户网页的可视区域。 ...
分类:Web程序   时间:2018-02-02 20:05:06    阅读次数:239
java-通过年月,获取到月的第一天和最后一天
传入年和月,获取到本月的第一天: 传入年和月,获取到本月的最后一天: ...
分类:编程语言   时间:2018-02-02 18:34:06    阅读次数:137
2965 -- The Pilots Brothers' refrigerator
The Pilots Brothers' refrigerator Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 27893 Accepted: 10802 Special Judge Description The game ...
分类:其他好文   时间:2018-02-02 16:09:16    阅读次数:188
Corosync+Pacemaker+crmsh构建Web高可用集群
一、概述: 1.1 AIS和OpenAIS简介 AIS应用接口规范,是用来定义应用程序接口(API)的开放性规范的集合,这些应用程序作为中间件为应用服务提供一种开放、高移植性的程序接口。是在实现高可用应用过程中是亟需的。服务可用性论坛(SA Forum)是一个开放性论坛,它开发并发布这些免费规范。使 ...
分类:Web程序   时间:2018-02-02 14:12:20    阅读次数:213
寒假 4
minimum length subarray: 解法一:滑动窗口法,先通过移动定right,然后移动定left,更新最小值。时间n,空间1。 解法二:找每个i的right,更新最小值;寻找的时候构造了辅助数组,用了分治。循环用分治,时间是nlogn,空间是n。 needle in haystack ...
分类:其他好文   时间:2018-02-01 23:08:45    阅读次数:187
AIX里如何查看文件系统属于哪个VG?
oracle@lightpoc-740-handson-2/oracle/script>df -kFilesystem    1024-blocks      Free %Used    Iused %Iused Mounted on/dev/hd4   &nbs
分类:其他好文   时间:2018-02-01 18:29:30    阅读次数:436
【leetcode】155. Min Stack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack. pop() -- Remov ...
分类:其他好文   时间:2018-01-31 00:59:19    阅读次数:165
3256条   上一页 1 ... 93 94 95 96 97 ... 326 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!