Name: Anonymous 2009-12-16 12:05
How do I learn to do this shit?
I'm going to fail introduction to algorithms and be the disgrace of MIT...
I'm going to fail introduction to algorithms and be the disgrace of MIT...
(\dick -> (.)(.))
fibt = {1, 1}
for i = 3, n do
fibt[i] = fibt[i - 1] + fibt[i - 2]
end
return fibt[n]
i, j = 1, 1
for i = 3, n do
local t = i
i = i + j
j = t
end
return ii = i + j; j = i - j", but dealing with t explicitly helps to explain the logic behind what is going on)