You are given a binary tree in which each node contains a value. Design an algorithm to print all paths which sum up to that value. Note that it can b...
分类:
其他好文 时间:
2014-09-21 12:31:50
阅读次数:
180
http://blog.zhaojie.me/2011/03/my-interview-questions-for-dotnet-programmers.html说起来我也面试过相当数量的.NET(包括C#,后文不重复)程序员了,有的通过电话,有的面谈。后来发现,其实提的问题来来回回也就那么几个。这...
分类:
Web程序 时间:
2014-09-19 23:42:16
阅读次数:
201
It's still an Amazon interview question. Given an array containing only stars '*' and hashes '#' . Find longest contiguous sub array that will cont...
分类:
其他好文 时间:
2014-09-09 21:20:49
阅读次数:
254
#include #include #include using namespace std;bool StringIsUnique(string s) { sort(s.begin(),s.end()); for (auto p = s.begin(); p != s.end()-1;) { .....
分类:
其他好文 时间:
2014-08-31 06:03:40
阅读次数:
245
#include #include using namespace std;void reverse(char* str) { int length = strlen(str); char* str_head = str; char* str_tail = &str[length-1]; w...
分类:
其他好文 时间:
2014-08-31 06:03:10
阅读次数:
253
Job interview1. If you would like to know more about my ability, I can be available for an interview at any time convenient to you.倘若阁下愿意接见本人以了解我的能力,我...
分类:
其他好文 时间:
2014-08-26 01:42:15
阅读次数:
251
题目链接Ashton appeared for a job interview and is asked the following question. Arrange all the distinctsubstringsof a given string in lexicographical or...
分类:
其他好文 时间:
2014-08-22 16:09:19
阅读次数:
218
FROM :http://www.csdn.net/article/2014-08-20/2821302-interview-tencent-b-qq-shuai-wang对比IaaS和PaaS,SaaS得到的关注显然要少一些。究其根本,不仅因为SaaS关注的是功能方面的探索,更偏向于某个领域或层面...
分类:
其他好文 时间:
2014-08-22 00:14:55
阅读次数:
235
Implement an algorithm to print all valid combinations of n-pairs of parentheses#includevoid f(int idx,int left,int right,char *buf){ if(left == 0 ...
分类:
其他好文 时间:
2014-08-21 13:06:34
阅读次数:
168
Given a infinite number of quarters(25cents), dimens(10cents), nickels(5cents) and pennies(1cent), write code to calculate the number of ways of repre...
分类:
其他好文 时间:
2014-08-21 12:56:04
阅读次数:
260