A coding challenge for facebook