xiaolong_fighting
BAN USER
Questions (1)
Forum Posts (1)
Comments (4)
Reputation 115
- -1of 1 vote
AnswersHow do you design a column database
- xiaolong_fighting in United States| Report Duplicate | Flag | PURGE
Linkedin Application / UI Design
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
LinkedHashMap will be perfect DS for this question
- xiaolong_fighting January 28, 2013Comment hidden because of low score. Click to expand.
0
of 0 vote
Actually, I don't know whether it's OOD or System Design.
If it's system design, what can be designed? If it is OOD, I don't know how to design this.
Comment hidden because of low score. Click to expand.
6
of 6 vote
int numTrees(int n) {
if (n <=1) return 1;
int total = 0;
for(int i =1;i<=n;i++)
total += numTrees(i-1) * numTrees(n-i);
return total;
}
Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
since the range is N. you can change original array to be negative to simulate hashmap
- xiaolong_fighting January 30, 2013