Re:Ask HN: Am I being too hard on the developers I interview?
by thisiswei on Thursday January 24, 2013 @02:19AM
(#5108146)
def cal(n):
if n == 1:
return [1]
else:
x = cal(n-1)
return [1] + [x[i]+x[i-1] for i in range(1,len(x))] + [1]
I didnt know "Pascal’s Triangle" , nor did I google, maybe I just got lucky.
(No CS degree, self-taught)
I'm not yet a great programmer, but no doubt I'm becoming one
Wanna hire me, for free :)
Location: SF,CA
----------------------------------------------------------------------------------------------------------------------------
my site: codefella.herokuapp.com