latest tweets:

Jump to content.

http://facebook.com/puzzles

October 20th, 2009

I had a preliminary interview with a woman at Facebook yesterday. We scheduled another interview for Thursday, which will have more technical kinds of questions. I asked her what i should be doing in the interum,and she suggested that I check out http://facebook.com/puzzles. The page had brushed past my radar in the past, but I didn’t give it a serious look until now. The page has a bunch of programming puzzles for anyone to do. Even the submission email address is a puzzle.

Submissions should be sent via email to the address: {0xFACEB00C>>2 in decimal}@facebook.com

Since one can easily find the email with a quick Google search, I thought I’d show how to find it. The puzzle page is Unix-centric, so for this task I logged into an Ubuntu virtual machine that lives on my home network.

In ViM, here’s the simple program:

Facebook Email 1

cute.  I have saved the file, and now I write a command to compile and execute the code.

Facebook Email 2

And now we see the output of the email (below “[. . .]vim fbemail.c” and above “Press ENTER [. . .]“)

Facebook Email 3

Yeah, no spoilers here… but if you can’t complete this task you won’t be able to do any of the others anyway.  No doubt the Facebook recruiters will judge me on my performance with these. This is going to be fun. :-)

edit at 4:25pm: update

2 comments

  1. New and improved! The previous post on one line! | My Piece of the Inter(.)net posted on October 20, 2009:

    [...] following bash code outputs the puzzlebot facebook email from my previous post with no extra output. This is one of those “just for fun things” that non CS people [...]

  2. Dita posted on August 26, 2010:

    Thanks. Didn’t use HEX much before, saved me some time.

RSS feed for comments on this post.

Leave a comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Read more

« »