Space Ant Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 3924 Accepted: 2457 Description The most exciting space discovery occurred at the ...
分类:
编程语言 时间:
2016-04-29 14:45:47
阅读次数:
207
#include "stdafx.h" #include "stdio.h"#include "stdlib.h" typedef int DataType; typedef struct Space{ DataType data; Space* next;}Space; typedef struc ...
分类:
其他好文 时间:
2016-04-28 21:22:49
阅读次数:
210
题目: Given a singly linked list, determine if it is a palindrome. Follow up: Could you do it in O(n) time and O(1) space? 题目解答:题目中要求在O(n)的时间复杂度和O(1)的空间 ...
分类:
其他好文 时间:
2016-04-28 20:13:36
阅读次数:
181
Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space ...
分类:
其他好文 时间:
2016-04-27 20:39:10
阅读次数:
121
ASCII值 控制字符 ASCII值 控制字符 ASCII值 控制字符 ASCII值 控制字符 0 NUT 32 (space) 64 @ 96 、 1 SOH 33 ! 65 A 97 a 2 STX 34 ” 66 B 98 b 3 ETX 35 # 67 C 99 c 4 EOT 36 $ 6 ...
分类:
其他好文 时间:
2016-04-27 18:43:10
阅读次数:
286
java.lang.OutOfMemoryError: Java heap space 原因:Heap内存溢出,意味着Young和Old generation的内存不够。 解决:调整java启动参数-Xms -Xmx 来增加Heap内存。 java.lang.OutOfMemoryError: un ...
分类:
其他好文 时间:
2016-04-27 15:34:00
阅读次数:
163
Ubuntu上的输入法主要有小小输入平台(支持拼音/二笔/五笔等),Fcitx,Ibus,Scim等。其中Scim和Ibus是输入法框架。 在Ubuntu的中文系统中自带了中文输入法,通过Ctrl+Space可切换中英文输入法。这里我们主要说下Ubuntu英文系统中,中文输入法的安装。 安装输入法的 ...
分类:
系统相关 时间:
2016-04-27 12:54:00
阅读次数:
227
Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another array, you ...
分类:
其他好文 时间:
2016-04-27 12:53:39
阅读次数:
126
一天一道LeetCode系列(一)题目
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
Do not allocate extra space for another array, you mus...
分类:
其他好文 时间:
2016-04-26 20:46:36
阅读次数:
108
Alt+回车 导入包,自动修正
Ctrl+N 查找类
Ctrl+Shift+N 查找文件
Ctrl+Alt+L 格式化代码
Ctrl+Alt+O 优化导入的类和包
Alt+Insert 生成代码(如get,set方法,构造函数等)
Ctrl+E或者Alt+Shift+C 最近更改的代码
Ctrl+R 替换文本
Ctrl+F 查找文本
Ctrl+Shift+Space 自动...
分类:
移动开发 时间:
2016-04-26 20:02:47
阅读次数:
195