码迷,mamicode.com
首页 >  
搜索关键字:two pointer    ( 13796个结果
第十九节 jQuery使用滚动距离和事件制作置顶菜单
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Document</title> 6 <style type="text/css"> 7 body{ 8 margin: 0; 9 } 10 ...
分类:Web程序   时间:2020-03-14 20:17:55    阅读次数:72
PAT.Product of polynomials(map)
1009 Product of Polynomials (25分) This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file cont ...
分类:其他好文   时间:2020-03-14 17:02:41    阅读次数:48
dfs之选数问题
Problem 给定n个正数,从中选出K个来使得他们的和为S,请问一共有多少种方法? Input: The first line, an integer T<=100, indicates the number of test cases. For each case, there are two ...
分类:其他好文   时间:2020-03-14 12:52:39    阅读次数:49
[poj1724]Roads
欢迎回来,这里是做图论已经做到疯了的爱上了图论的Darth Victor。没错今天又是图论题,最近一直在刷图论。 题目 N cities named with numbers 1 ... N are connected with one-way roads. Each road has two pa ...
分类:其他好文   时间:2020-03-14 10:59:13    阅读次数:51
LeetCode 300. Longest Increasing Subsequence
300. Longest Increasing Subsequence(最长上升子序列) 链接 https://leetcode cn.com/problems/merge two binary trees 题目 给定一个无序的整数数组,找到其中最长上升子序列的长度。 示例: 输入: [10,9,2 ...
分类:其他好文   时间:2020-03-14 10:48:26    阅读次数:54
echarts实现中国地图
本项目是从数据库中获取数据然后在web页面上展示地图界面,用到了echarts 接下来是目录展示: 接下来展示各个文件的内容 base2文件的内容: package two; public class base2 { String shengfen; String renshu; public St ...
分类:其他好文   时间:2020-03-14 10:36:17    阅读次数:56
python :practice function return
define function .return value is required. instance: def f(): print('hello world') return 10 # return represents two replications. 1:process is execut ...
分类:编程语言   时间:2020-03-13 20:20:20    阅读次数:54
数据结构PTA(浙大mooc)
04-树5 Root of AVL Tree (25分) An AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node dif ...
分类:其他好文   时间:2020-03-13 19:01:17    阅读次数:77
FFmpeg: AVAudioFifo 总结
一. 说明 AVAudioFifo是FFmpeg提供的一个先入先出的音频缓冲队列。主要要以下几个特点: 操作在样本级别而不是字节级别。 支持多通道的格式,不管是planar还是packed类型。 当写入一个已满的buffer时会自动重新分配内存。 二. 主要函数 av_audio_fifo_allo ...
分类:其他好文   时间:2020-03-13 18:51:00    阅读次数:411
leetcode 1. Two Sum (java)
1 class Solution { 2 public int[] twoSum(int[] nums, int target) { 3 Map<Integer, Integer> map = new HashMap<>(); 4 for (int i = 0; i < nums.length; i ...
分类:编程语言   时间:2020-03-12 14:41:34    阅读次数:64
13796条   上一页 1 ... 51 52 53 54 55 ... 1380 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!