Given a binary tree, return all root-to-leaf paths. For example, given the following binary tree: All root-to-leaf paths are: ...
分类:
其他好文 时间:
2016-09-17 10:41:32
阅读次数:
122
Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: ...
分类:
其他好文 时间:
2016-09-17 09:29:29
阅读次数:
162
在VC++中设置工程的调试状态:工程--》设置--》调试--》程序变量: int main(int argc , char* argv[]){ printf("%S\n",argv[i]);// i变量代表自定义数字。 return 0; } ...
分类:
编程语言 时间:
2016-09-17 09:26:53
阅读次数:
135
Given a set of distinct integers, nums, return all possible subsets. Note: The solution set must not contain duplicate subsets. For example,If nums = ...
分类:
其他好文 时间:
2016-09-17 08:22:39
阅读次数:
139
Related to question Excel Sheet Column Title Given a column title as appear in an Excel sheet, return its corresponding column number. For example: So ...
分类:
其他好文 时间:
2016-09-17 08:18:14
阅读次数:
108
Write a function to generate the generalized abbreviations of a word. Example: Given word = "word", return the following list (order does not matter): ...
分类:
其他好文 时间:
2016-09-17 07:13:08
阅读次数:
138
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example,If n = 4 and k = 2, a solution is: ...
分类:
其他好文 时间:
2016-09-17 07:11:53
阅读次数:
121
VS2013编译以下代码: #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { int test = 1; test = 2; return 0; } 使用CFF Explorer或者PEID打开编译后生成的exe文件,查看image... ...
分类:
系统相关 时间:
2016-09-17 01:56:34
阅读次数:
295
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word ...
分类:
其他好文 时间:
2016-09-17 00:20:22
阅读次数:
132
Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". 这个题目只要注意各种情况你就成功了一大半,特别要注意的是对进位赋值后可能产生的变化, ...
分类:
其他好文 时间:
2016-09-17 00:10:27
阅读次数:
143