You're from the Bay Area and you think $60/hr is expensive? I charge the least out of contracting friends, and I charge a non-trivial amount more than that. I also don't live in or around San Francisco.
25 karma · joined December 25, 2012
If I get in touch, would you point me towards some resources even if it won't lead to employment?
- (NSArray)pascal:(int)n { if (n == 1) return @[@(1)];
NSArray array = [self pascal:n-1]; NSMutableArray* mArray = [@[] mutableCopy]; for(int i = 0; i < array.count+1; i++) { int r = i - 1; if (r >= 0 && i < array.count) [mArray addObject:@([array[r] integerValue] + [array[i] integerValue])]; else if (i < array.count) [mArray addObject:@(0 + [array[i] integerValue])]; else [mArray addObject:@(0 + [array[i-1] integerValue])]; }
return [mArray copy]; }
Took me about 15 minutes to do. Doesn't seem like an unreasonable question to ask.