Hacker News new | past | comments | ask | show | jobs | submit login
Facebook | Programming Puzzles (facebook.com)
14 points by jamiequint on April 2, 2007 | hide | past | favorite | 7 comments



Evil Gambling Monster looks like an opportunity to show off that you were paying attention in your Algorithms class. Do an A-star search, and for your h heuristic, use dynamic programming to determine the maximum possible yield of remaining at your current location for the rest of the 30 days.


prime_bits reminds me a lot of a puzzle I got as an interview question for the DirectX group at MSFT so many years ago.

I love the question "What happens when you type ls?" that Sun asks. It can be answered at any level of depth or breadth, and is a great way to see how someone's mind works.


The "PHP Optimize This!" puzzle looks suspiciously like work that would actually be useful for Facebook...(minus the quine, which seems useless for everyone involved)


yeah... php's lack of a mb charset friendly wordwrap function is a bit lame... the only quote i haven't been able to validate is the GitS 2 Innocence quote, anyone else run into that problem?


I think the utf8 one is pretty interesting, still haven't quite cracked it


does a job at facebook pay $250,000 a year? cuz if not, what is the point? you can be a knuckle-dragging caveman at most startups and still get the job done...


I wouldn't be surprised if it did actually...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: