49. Group Anagrams Given an array of strings, group anagrams together. Example: ...
分类:
Web程序 时间:
2019-02-24 23:08:09
阅读次数:
188
1030 Travel Plan (30 分) A traveler's map gives the distances between cities along the highways, together with the cost of each highway. Now you are su ...
分类:
其他好文 时间:
2019-02-22 23:09:41
阅读次数:
161
报错如下,原因是存放传过来的归档的目录+HWAREDODG满了,MRP进程无法应用归档,我在手动传了几个归档之后发现不是GAP,select * from V$ARCHIVE_GAP 显示没有GAP。于是就把HWAREDODG下已经应用的归档删掉,rman target /rman>select '... ...
分类:
其他好文 时间:
2019-02-19 20:06:38
阅读次数:
713
算法描述: Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is rep ...
分类:
其他好文 时间:
2019-02-19 13:38:24
阅读次数:
125
21. Merge Two Sorted Lists Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of th ...
分类:
Web程序 时间:
2019-02-16 13:28:29
阅读次数:
211
"Weird Numbers" Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 594 Accepted Submission(s): 185 ...
分类:
其他好文 时间:
2019-02-15 19:53:27
阅读次数:
130
学习地址:https://openlayers.org/workshop/en/ OpenLayers Workshop Introduction Basics Creating a map Zooming to your location Vector Data Rendering GeoJSON ...
分类:
其他好文 时间:
2019-02-10 20:25:20
阅读次数:
214
Given an array of strings, group anagrams together. Example: 题意 把由相同字母出现相同次数组成的字符串归到一起(数据可能重复) 题解 一开始我当成了任何一种字母只会出现一次做了,用的是long型作二进制用,自然WA了,其实后来可以用字符串 ...
分类:
其他好文 时间:
2019-02-07 20:43:17
阅读次数:
167
http://codeforces.com/blog/entry/62013 两个结论: 1.一定有一个箱子不用动。 2.不动的箱子一定是加权前缀和为S/2的那个。 1显然,2由1易得。 于是问题变为:求一段区间前缀和>S/2的第一个数的位置。显然先求出S/2,再线段树上二分即可,实现过程见代码。 ...
分类:
其他好文 时间:
2019-02-04 12:45:41
阅读次数:
178