最近收集了一下键盘按键对应的ASCII码:
ESC键VK_ESCAPE (27)
回车键:VK_RETURN (13)
TAB键:VK_TAB (9)
Caps Lock键:VK_CAPITAL (20)
Shift键:VK_SHIFT (16)
Ctrl键:VK_CONTROL (17)
Alt键:VK_MENU (18)
空格键:VK_SPACE...
分类:
其他好文 时间:
2014-06-05 11:37:19
阅读次数:
263
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 i...
分类:
其他好文 时间:
2014-06-04 19:54:55
阅读次数:
258
Given two sorted integer arrays A and B, merge
B into A as one sorted array.Note:You may assume that A has enough space (size
that is greater or equal...
分类:
其他好文 时间:
2014-06-04 18:18:08
阅读次数:
259
Two elements of a binary search tree (BST) are
swapped by mistake.Recover the tree without changing its structure.Note:A
solution using O(n) space is ...
分类:
其他好文 时间:
2014-06-03 13:53:21
阅读次数:
309
原题地址:https://oj.leetcode.com/problems/word-break/题意:Given
a stringsand a dictionary of wordsdict, determine ifscan be segmented into a
space-separated...
分类:
编程语言 时间:
2014-06-03 09:14:24
阅读次数:
293
NameNumericDescriptionHexISO in CSS
contentOctal no-break space%A0p:before { content:"\00a0";
}alert("\240");¡?¡inverted exclamation m...
分类:
Web程序 时间:
2014-05-31 11:26:22
阅读次数:
881
Given a stringsand a dictionary of wordsdict,
determine ifscan be segmented into a space-separated sequence of one or more
dictionary words.For exampl...
分类:
其他好文 时间:
2014-05-30 16:09:32
阅读次数:
213
Given a linked list, determine if it has a
cycle in it.Follow up:Can you solve it without using extra space?/** *
Definition for singly-linked list. *...
分类:
其他好文 时间:
2014-05-30 16:08:05
阅读次数:
238
Given a linked list, return the node where the
cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it
without using extra space?/**...
分类:
其他好文 时间:
2014-05-30 15:59:56
阅读次数:
249
Sort a linked list inO(nlogn) time using
constant space complexity./** * Definition for singly-linked list. * struct
ListNode { * int val; * L...
分类:
其他好文 时间:
2014-05-30 15:17:18
阅读次数:
312