Facebook
4.6 of 5 637 reviews
www.facebook.com Menlo Park, CA 5000+ Employees

Facebook Backend Engineer Interview Question

"Reverse print single linked list."
Add Tags [?]
Answer Flag Question

Part of a Backend Engineer Interview Review - one of 1,001 Facebook Interview Reviews

Answers & Comments

0
of 0
votes
printNode(Node n)
{
  if (n == null) return;
  printNode(n->next);
  print(" " + n.value);
}
- AlgorithmJunky on Jun 13, 2012 Flag Response

To comment on this question, Sign In with Facebook or Sign Up


Tags are like keywords that help categorize interview questions that have something in common.

Glassdoor is your free inside look at Facebook interview questions and advice. All interview reviews posted anonymously by Facebook employees and interview candidates.