从基础题目入手,按类别,写每个题,记录疑问与收获。 1. Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may ...
分类:
其他好文 时间:
2017-12-01 23:34:50
阅读次数:
160
1. Two Sum 找到数组中和为target的两个数,返回索引 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may as ...
分类:
其他好文 时间:
2017-12-01 18:32:48
阅读次数:
116
DatePicker支持鼠标点选日期,同时还可以通过键盘控制选择: page up/down - 上一月、下一月 ctrl+page up/down - 上一年、下一年 ctrl+home - 当前月或最后一次打开的日期 ctrl+left/right - 上一天、下一天 ctrl+up/down ...
分类:
其他好文 时间:
2017-12-01 15:49:14
阅读次数:
117
题目:Mr. Panda likes ice cream very much especially the ice cream tower. An ice cream tower consists of K ice cream balls stacking up as a tower. In ord ...
分类:
其他好文 时间:
2017-12-01 13:35:19
阅读次数:
160
主要是由于服务未使用高可用的注册服务中心,调整服务的配置文件的服务注册中心为多个 application.properties 修改为 ...
分类:
其他好文 时间:
2017-11-29 11:31:33
阅读次数:
1091
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For ...
分类:
其他好文 时间:
2017-11-28 21:51:32
阅读次数:
116
题目:http://codeforces.com/contest/867/problem/E 题意:模拟股票操作,每天只能买一只股票或者卖一只股票或者什么也不做,求最大利润。 题解:仔细想想是非常简单的一个贪心问题,理解为连续的多次贪心买入卖出可以合并为一次的买入卖出,且值为最优。只需要用一个最小堆 ...
分类:
数据库 时间:
2017-11-28 18:47:37
阅读次数:
185
$ to the end of the current line W to the beginning of the next word, ignoring punctuation characters Ctrl - f Down one page Ctrl - b Up one page numb ...
分类:
系统相关 时间:
2017-11-28 16:37:42
阅读次数:
246
用SVN经常出现被锁定而无法提交的问题,选择解锁又提示没有文件被锁定,很是头疼。 这里整理了一下SVN 被锁定的几种解决方法: 1.出现这个问题后使用“清理”即"Clean up"功能,如果还不行,就直接到上一级目录,再执行“清理”,然后再“更新”。 2.有时候如果看到某个包里面的文件夹没有SVN的 ...
分类:
其他好文 时间:
2017-11-28 13:27:46
阅读次数:
108
``` / Source : https://oj.leetcode.com/problems/linked list cycle/ Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it ...
分类:
其他好文 时间:
2017-11-28 01:43:18
阅读次数:
160