標籤: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 <--- / 2 3 <---
標籤:git status命令可以列出目前的目錄所有還沒有被git管理的檔案和被git管理且被修改但還未提交(git commit)的檔案.。比如;git status# On branch master# Changes to be committed:# (use "git reset HEAD <file>..." to unstage)## modified: 2.txt##
標籤:http://acm.hdu.edu.cn/showproblem.php?pid=4747Problem DescriptionMex is a function on a set of integers, which is universally used for impartial game theorem. For a non-negative integer set S, mex(S) is defined as the least non-negative integer
標籤:Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999. class Solution {public: int romanToInt(string s) { int num = 0; int n = s.size(); for (int i = 0; i < n;
標籤: onclick=onmouseup+onmousedown onkeypress=onkeydown+onkeyup keyCod(索引值,鍵盤上每個鍵都對應一個唯一的值)offsetoffsetWidth,offsetLeft,offsetHeight ……代表的是實際的值擷取鍵盤的值需要用到事件對象event,Firefox下用ev鍵盤控制div的移動<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0