News for hackers. Stuff that matters.
Re:How Effective are Technical Interviews? by maeon3 on Thursday February 03, 2011 @06:26PM (#2177479)
In java: public int nth_fibbonacci(int n) { if (n == 0 || n == 1) return 1; return nth_fibbonacci(n-1) + nth_fibbonacci(n-2); } //Would you accept that as a valid response even though it is terribly inefficient? It's what I came up with in 5 minutes.
Re:How Effective are Technical Interviews? by kenjackson on Thursday February 03, 2011 @06:55PM (#2177599)
Yep, that would work.