码迷,mamicode.com
首页 >  
搜索关键字:two pointers    ( 12138个结果
1047. Remove All Adjacent Duplicates In String
Given a string S of lowercase letters, a duplicate removal consists of choosing two adjacent and equal letters, and removing them. We repeatedly make ...
分类:其他好文   时间:2020-07-15 13:09:25    阅读次数:90
1344. Angle Between Hands of a Clock (M)
Angle Between Hands of a Clock (M) 题目 Given two numbers, hour and minutes. Return the smaller angle (in degrees) formed between the hour and the minut ...
分类:其他好文   时间:2020-07-15 10:47:17    阅读次数:102
leetcode260 Single Number III
260 Single Number III Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. ...
分类:其他好文   时间:2020-07-14 21:54:31    阅读次数:104
LeetCode 160.相交链表
1、LeetCode 160 相交链表 题目链接:https://leetcode-cn.com/problems/intersection-of-two-linked-lists/ 编写一个程序,找到两个单链表相交的起始节点。 如下面的两个链表: 在节点c1开始相交。 示例 1: 输入:inter ...
分类:其他好文   时间:2020-07-14 18:13:25    阅读次数:53
History 3 : First Civilizations
This week we are reading about the beginnings of Islam, and the simultaneous expansion of Christianity in the West. You may notice that the two overla ...
分类:其他好文   时间:2020-07-14 13:02:46    阅读次数:101
166. Fraction to Recurring Decimal
package LeetCode_166 /** * 166. Fraction to Recurring Decimal * https://leetcode.com/problems/fraction-to-recurring-decimal/description/ * * Given two ...
分类:其他好文   时间:2020-07-14 00:36:05    阅读次数:87
Pku3468 A Simple Problem with Integers
You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number ...
分类:其他好文   时间:2020-07-12 18:48:43    阅读次数:50
Quagga BGP and exabgp: work together for BGP blackhole implementation
Quagga BGP and exabgp: work together for BGP blackhole implementation In our test case we will deploy two machines: 10.0.3.114 for exabgp (it announce ...
分类:其他好文   时间:2020-07-12 12:21:39    阅读次数:70
LeetCode21
题目链接 https://leetcode-cn.com/problems/merge-two-sorted-lists/description/ 题目分析 两个链表已排序 新链表应该是两个链表拼接起来的,而非new出来的 链表中头结点的val应该是有意义的 题解一:迭代 思路 先new一个无意义的 ...
分类:其他好文   时间:2020-07-11 19:10:40    阅读次数:83
A Bug's Life POJ - 2492
A Bug's Life Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two different gend ...
分类:其他好文   时间:2020-07-11 17:33:44    阅读次数:54
12138条   上一页 1 ... 11 12 13 14 15 ... 1214 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!