That Time I Failed a Facebook Interview

12
Sep

2 parts:

1) Questions about memory management. ARC vs MRC, Thread Safety (deadlock, racecondition), Blocks, Weak vs Strong references. I missed keeping strong refs to weak items during the block statement life cycle.

2) Coding question. I quickly realized it was a permutation function and went strait to the recursion.

Sounds pretty good right? Wrong. I completely lost my noodle on part 2. I explained everything I wanted to do which checked out but everytime I went to write something it came out wrong. Perhaps it was interview anxiety. Immediately after the call I was so frustrated that I went ahead and finished the recursive problem myself.

written by jackson

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <pre>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
  • Lines and paragraphs break automatically.
  • E-Mail addresses are hidden with reCAPTCHA Mailhide.

More information about formatting options

CAPTCHA
Complete this form and then pat yourself on the back.