码迷,mamicode.com
首页 >  
搜索关键字:median of two sorted    ( 17004个结果
Redis的数据类型及使用场景
1.redis 的数据类型 String 字符串 Hash 哈希 List 列表 Set 集合 ZSet(Sorted Set) 有序集合 2.使用场景 2.1 String 用户token 可以用redis来记录用户token并设置过期时间 小龙测试:0>set 1001 tokenslkdjfl ...
分类:其他好文   时间:2020-07-15 15:38:14    阅读次数:78
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
元组学习
将元组作为一个记录存入列表中: traveler_ids=[('USA','311'),('BRA','342'),('ESP','566')] for passport in sorted(traveler_ids): print("%s%s"%passport) 元组拆包: city,year, ...
分类:其他好文   时间:2020-07-15 01:29:17    阅读次数:87
35. Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or ...
分类:其他好文   时间:2020-07-14 21:56:23    阅读次数:98
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
记录大佬sorted操作
dl = [ { "viewTimes": 236, "topTimes": 49, "stepsNum": 76, "collTimes": 321 }, { "viewTimes": 236, "topTimes": 47, "stepsNum": 58, "collTimes": 344 }, ...
分类:其他好文   时间:2020-07-13 13:23:29    阅读次数:60
17004条   上一页 1 ... 20 21 22 23 24 ... 1701 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!