descption We have a sorted set of digits D, a non-empty subset of {'1','2','3','4','5','6','7','8','9'}. (Note that '0' is not included.) Now, we writ ...
分类:
其他好文 时间:
2020-06-13 17:10:49
阅读次数:
64
暴力题解 思路 确定两端值 a c,找出符合要求的中间值 b 代码 //超时 public static List<List<Integer>> threeSum(int[] nums) { List<List<Integer>> lists = new ArrayList<>(); if (num ...
分类:
其他好文 时间:
2020-06-13 16:02:09
阅读次数:
72
#include<iostream>#include<algorithm>#include<cstring>#include<cstdio>using namespace std;const int N=1e6+10;int q[N]= {0},temp[N]={0};void merge_sort ...
分类:
编程语言 时间:
2020-06-13 12:48:12
阅读次数:
52
use master go sp_configure 'allow updates',1 go reconfigure with override update sysdatabases set status=32768 where dbid=DB_ID('ypsxyy20160527') dbcc ...
分类:
数据库 时间:
2020-06-13 11:08:45
阅读次数:
76
1074 Reversing Linked List (25分) Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For ex ...
分类:
其他好文 时间:
2020-06-13 00:48:49
阅读次数:
54
Description Once in a forest, there lived \(n\) aggressive monkeys. At the beginning, they each does things in its own way and none of them knows each ...
分类:
其他好文 时间:
2020-06-13 00:21:23
阅读次数:
79
// 插入排序 const insertSort =(arr) => { //假设前面的元素有序,把后一个元素插入合适的位置 for (var i = 1;i<arr.length;i++){ var preIdx = i-1 var currentVal = arr[i] while(preIdx ...
分类:
编程语言 时间:
2020-06-11 19:48:53
阅读次数:
52
上个版本,我们为数字输入框增加了 DotSeparator 和 CommaSeparator,对于特殊语种会非常有用。 https://www.cnblogs.com/sanshi/p/12836430.html 比如在法语或者西班牙语的环境下,小数分隔符和千分位分隔符和我们正常的认知是不同的。 下 ...
分类:
其他好文 时间:
2020-06-11 16:57:53
阅读次数:
76
题目 Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supposed to output t ...
分类:
其他好文 时间:
2020-06-10 23:00:04
阅读次数:
85
前几天统计一个sql,是一个人提交了多少工单,顺便做了相关sql优化。数据大概2000多w。 select CustName,count(1) c from WorkOrder where CreateDate>'2016-5-1' and CreateDate<'2017-1-1'group by ...
分类:
数据库 时间:
2020-06-10 21:33:41
阅读次数:
70