码迷,mamicode.com
首页 >  
搜索关键字:example    ( 17798个结果)
[LeetCode] 34. Find First and Last Position of Element in Sorted Array
在有序数组中查找元素的第一个和最后一个位置。题意很简单,给了一个数组和一个数字A,问数字A第一次和最后一次在数组中出现的位置在哪里,若没有,return -1。例子, Example 1: Input: nums = [5,7,7,8,8,10], target = 8 Output: [3,4] ...
分类:其他好文   时间:2019-11-04 13:19:04    阅读次数:96
videojs改变音量大小
音量50% $("#volume").change(function(){ var volume = $(this).val(); $("#volumeLabel").text("x"+volume+"%"); }); var player = videojs('example-video... ...
分类:Web程序   时间:2019-11-04 13:12:47    阅读次数:706
github/gitlab ssh-key公钥各种问题 解决
一、window 0. cd ~/.ssh ls来查看是否有文件id_rsa以及文件id_rsa.pub 1. 首先,如果你没有ssh key的话,在ternimal下输入命令:ssh-keygen -t rsa -C "youremail@example.com", youremail@examp ...
分类:其他好文   时间:2019-11-03 23:40:45    阅读次数:342
POJ-2689-Prime Distance(素数区间筛法)
链接: https://vjudge.net/problem/POJ 2689 题意: The branch of mathematics called number theory is about properties of numbers. One of the areas that has c ...
分类:其他好文   时间:2019-11-03 23:36:52    阅读次数:94
24. 两两交换链表中的节点
题目描述: Given a linked list, swap every two adjacent nodes and return its head. For example,Given1->2->3->4, you should return the list as 2->1->4->3. Y ...
分类:其他好文   时间:2019-11-03 18:00:12    阅读次数:78
3. Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:其他好文   时间:2019-11-03 13:00:36    阅读次数:90
vue-example
一:组件案例发表评论 HTML代码如下: vue代码如下: ...
分类:其他好文   时间:2019-11-02 13:30:19    阅读次数:166
【CF696D】Legen...(AC自动机)(矩阵快速幂)
题目描述 Barney was hanging out with Nora for a while and now he thinks he may have feelings for her. Barney wants to send her a cheesy text message and w ...
分类:其他好文   时间:2019-11-02 09:30:59    阅读次数:87
92. 反转链表 II
题目描述: Reverse a linked list from position m to n. Do it in-place and in one-pass.For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4-> ...
分类:其他好文   时间:2019-11-02 00:26:52    阅读次数:75
324. Wiggle Sort II
Given an unsorted array nums, reorder it such that nums[0] < nums[1] > nums[2] < nums[3].... Example 1: Example 2: Note:You may assume all input has v ...
分类:其他好文   时间:2019-11-01 09:40:11    阅读次数:64
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!