Taxi Cab SchemeTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 231Accepted Submission(s): 142Probl...
分类:
其他好文 时间:
2015-06-22 12:16:35
阅读次数:
124
工作7年,就其工作中学习到的技术和业务是很有限的,业余的大部分时间还是以自己看书为主,学习到的技术不一定能用的上,但是可以作为知识的储备。除了专业书籍外,也尽量多的看一些其他的书籍,例如:历史、经济、管理等方面的,为了将来有全面的发展储备知识,也是为了激发自己的思考,解构现实世界。 我是比较善...
分类:
其他好文 时间:
2015-06-22 12:18:00
阅读次数:
303
Description:Given an array of sizen, find the majority element. The majority element is the element that appears more than? n/2 ?times.You may assume ...
分类:
其他好文 时间:
2015-06-22 12:17:32
阅读次数:
106
英文原文:Technical Debt: A Repayment Plan 什么是技术债务? 许多团队都受技术债务困扰,不过,很少有团队能真正地设计一个计划从中挣脱出来。为了更好的理解如何才能摆脱债务,我们首先要正确地理解什...
分类:
其他好文 时间:
2015-06-22 11:16:48
阅读次数:
122
采用递归的方式来获取相关目录下的子目录的名称
import java.io.File;
//采用递归的方式来获取D盘下myjava目录下的所有子目录的名称
public class FileListDemo
{
public static void main(String[] args)
{
// 获取D盘下所有的文件目录的名称
File file = ne...
分类:
其他好文 时间:
2015-06-22 11:15:55
阅读次数:
123
xstream 初学笔记
简介:本章主要写的是,在微信开发中,有发送xml数据,其中用到了xstream这个框架进行javaBean和xml数据的转换,但是在每个标签中,微信需要的接口都需要封装上一个东西,所以使用了其中的解析器来,在本章中用到了xpp这个解析类,别的我还没有搞明白,但是xstream框架很丰富,此处指给出一个特例,把JavaBean中的其余属性封装上特殊标签,Cre...
分类:
其他好文 时间:
2015-06-22 11:13:26
阅读次数:
151
迷宫问题
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 10098
Accepted: 6002
Description
定义一个二维数组:
int maze[5][5] = {
0, 1, 0, 0, 0,
0, 1, 0, 1, 0,
...
分类:
其他好文 时间:
2015-06-22 11:13:58
阅读次数:
117
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.
For example:
Given the following binary tree,
1...
分类:
其他好文 时间:
2015-06-22 11:13:01
阅读次数:
127
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 example:
Given binary tree {3,9,20,#,#,15,7},
...
分类:
其他好文 时间:
2015-06-22 11:14:13
阅读次数:
94
本文翻译自SharePoint微软官方博客,是SharePoint 2016更新中的第二点和第三点。...
分类:
其他好文 时间:
2015-06-22 11:13:30
阅读次数:
135
Calculate a + b and output the sum in standard format — that is, the digits must be separated into groups of three by commas (unless there are less than four digits).
Input
Each input file contain...
分类:
其他好文 时间:
2015-06-22 11:13:26
阅读次数:
110
Valid Sudoku
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are fil...
分类:
其他好文 时间:
2015-06-22 11:13:05
阅读次数:
141
Rotate Image
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?...
分类:
其他好文 时间:
2015-06-22 11:11:54
阅读次数:
116
Set Matrix Zeroes
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
Follow up:
Did you use extra space?
A s...
分类:
其他好文 时间:
2015-06-22 11:12:40
阅读次数:
113
Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between).
For example:
Given binary ...
分类:
其他好文 时间:
2015-06-22 11:11:22
阅读次数:
99
Gray Code
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢
The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the to...
分类:
其他好文 时间:
2015-06-22 11:11:12
阅读次数:
115
今天,向大家介绍一款简单、实用的JQuery插件——select2。
select2是对select下拉框的改进。如果你对界面的美感又一定要求,你一定会抛弃select,坚决的选择select2阵营。
select2的使用非常简单。我将它在项目中的应用总结成了两个demo,你一定会为它的简单实用大为震惊。...
分类:
其他好文 时间:
2015-06-22 11:11:29
阅读次数:
133