码迷,mamicode.com
首页 >  
搜索关键字:min stack    ( 30402个结果
字符串整理
字符串整理(Manachar,KMP,扩展KMP,ACAM,SA,SAM,最小表示法) 基础 字符集$\sum$:一个字符集是一个建立了全序关系的集合,即任意属于$\sum$的元素可以比较,字符集中的元素叫做字符 字符串:一个字符串$S$将n个字符顺次排列组成,$n$为$S$的长度,计作$|S|$, ...
分类:其他好文   时间:2020-07-26 01:32:53    阅读次数:67
用递归函数和栈操作逆序一个栈
代码: #include <iostream>#include <stack>using namespace std; int g_a_r_l_e(stack<int>&stackdata)//取栈顶元素并在栈中将其删除; //注意这里转引用,如果不传引用每次递归会传入不同的stack,这样会出现错 ...
分类:其他好文   时间:2020-07-26 01:27:13    阅读次数:62
leetcode - 分割数组的最大值
题目描述 给定一个非负整数数组和一个整数 m,你需要将这个数组分成 m 个非空的连续子数组。设计一个算法使得这 m 个子数组各自和的最大值最小。 注意: 数组长度 n 满足以下条件: 1 ≤ n ≤ 1000 1 ≤ m ≤ min(50, n) 示例 输入: nums = [7,2,5,10,8] ...
分类:编程语言   时间:2020-07-26 01:25:06    阅读次数:71
单页面导航定位跳转插件
引入``` <script src="js/jqurey.singlePageNav.min.js"></script> <script> $(function(){ //导航跳转效果插件 $('.nav').singlePageNav({ offset:70; //向上偏移量 }); //小屏幕导 ...
分类:其他好文   时间:2020-07-26 01:24:24    阅读次数:96
gulp4.0.2使用实例
gulpfile.js const gulp = require('gulp'); const cssnano = require('gulp-cssnano'); const sass = require('gulp-sass'); const rename = require('gulp-ren ...
分类:其他好文   时间:2020-07-26 01:14:27    阅读次数:91
垃圾收集算法理论和思想
垃圾收集算法的实现涉及大量的细节,且各个平台的虚拟机操作内存的方法各有差异,本文主要讲分代收集的理论和几种算法回收的思想。 从如何判断对象的消亡角度出发,垃圾收集算法可以划分为两类:“引用计数式垃圾收集”(Reference Counting GC)和“追踪式垃圾收集” (Tracing GC)两大 ...
分类:编程语言   时间:2020-07-26 01:09:29    阅读次数:99
Java 包装类
1. 8大基本类型 java是面向对象的语言,基本类型不是new出来的不能使用像object提供的方法,所以有了包装类 package com.qf.demo02; import javax.swing.text.InternationalFormatter; public class Test6I ...
分类:编程语言   时间:2020-07-26 00:54:28    阅读次数:80
关于心跳包的几个不错的内容
https://www.cnblogs.com/jarvise/p/4687950.html http://www.voidcn.com/article/p-qtvcezwq-bry.html 数据库相关的:https://blog.csdn.net/linminqin/article/detail ...
分类:其他好文   时间:2020-07-26 00:51:14    阅读次数:76
Codeforces #659 A. Common Prefixes
##题面 he length of the longest common prefix of two strings s=s1s2…sn and t=t1t2…tm is defined as the maximum integer k (0≤k≤min(n,m)) such that s1s2…s ...
分类:其他好文   时间:2020-07-26 00:15:56    阅读次数:106
StackExchange.Redis client best practices
StackExchange.Redis client best practices 1. Enabling server GC can optimize the client and provide better performance and throughput.2. Set AbortOnCo ...
分类:其他好文   时间:2020-07-25 23:55:39    阅读次数:84
30402条   上一页 1 ... 87 88 89 90 91 ... 3041 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!