I. Powers Of Two A positive integer xx is called a power of two if it can be represented as x=2yx=2y, where y is a non-negative integer. So, the power ...
分类:
其他好文 时间:
2020-01-18 12:25:52
阅读次数:
97
nx.compose Return a new graph of G composed with H. Composition is the simple union of the node sets and edge sets. ref "link" ...
分类:
其他好文 时间:
2020-01-18 10:47:15
阅读次数:
89
1,什么是redis?redis是开源的、用c语言编写的,非关系型、 存储结构为Key-Value的数据库 2,redis的数据类型 String,List,Hash,Set,Sorted Set 3,使用redis有哪些好处? ①数据存在内存中,读取速度快 ②支持丰富数据类型,支持string,l ...
分类:
其他好文 时间:
2020-01-17 21:29:26
阅读次数:
115
「外观数列」是一个整数序列,从数字 1 开始,序列中的每一项都是对前一项的描述。前五项如下: 1. 12. 113. 214. 12115. 1112211 被读作 "one 1" ("一个一") , 即 11。11 被读作 "two 1s" ("两个一"), 即 21。21 被读作 "one 2" ...
分类:
其他好文 时间:
2020-01-17 20:48:55
阅读次数:
65
Redis是一款开源的、高性能的键-值存储(key-value store)。它常被称作是一款数据结构服务器(data structure server)。Redis的键值可以包括字符串(strings)、哈希(hashes)、列表(lists)、集合(sets)和 有序集合(sorted sets ...
分类:
其他好文 时间:
2020-01-17 11:48:44
阅读次数:
59
题目如下: You have a keyboard layout as shown above in the XY plane, where each English uppercase letter is located at some coordinate, for example, the l ...
分类:
其他好文 时间:
2020-01-17 11:45:26
阅读次数:
67
1. 两数之和 https://leetcode cn.com/problems/two sum/ | 难度 | 完成日期 | 耗时 | 提交次数 | | | | | | | 简单 | 2020 1 16 | 0.5小时 | | 问题描述 给定一个整数数组 nums 和一个目标值 target,请你 ...
分类:
其他好文 时间:
2020-01-17 00:18:10
阅读次数:
83
https://codeforces.com/contest/701/problem/C binary search strings two pointers #include<bits/stdc++.h> using namespace std; const int N=1e5+5; char s ...
分类:
其他好文 时间:
2020-01-16 22:09:48
阅读次数:
71
83. 删除排序链表中的重复元素 https://leetcode cn.com/problems/remove duplicates from sorted list/ | 难度 | 完成日期 | 耗时 | 提交次数 | | | | | | | 简单 | 2020 1 16 | 0.5小时 | 2 ...
分类:
编程语言 时间:
2020-01-16 19:21:27
阅读次数:
79
D - Beautiful Numbers Vitaly is a very weird man. He's got two favorite digits a and b. Vitaly calls a positive integer good, if the decimal represent ...
分类:
其他好文 时间:
2020-01-16 19:06:21
阅读次数:
79