Hacker News new | ask | show | jobs
by aseem 4003 days ago
This would be fun response to the usual interview white boarding question.
2 comments

> This would be fun response to the usual interview white boarding question.

i don't really understand what you mean here. may you please elaborate ? thanks !

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.

There's no way I'd get a job if they asked me to express the Fibonacci sequence in a series of 24 digit blah blah blah as a fraction.