top | item 9816877

(no title)

itsadok | 10 years ago

A common warm up question in a coding interview is to write (on the whiteboard) a program that prints the Fibonacci numbers in sequence. Arguably, you can write this fraction and claim this answers the question, though I don't know any programming language where this would actually work without a bunch of more code around it.

Edit: other comments have examples in Python, Clojure and bc.

discuss

order

No comments yet.