Slashdot Mirror


The 'Trick' To Algorithmic Coding Interview Questions (dice.com)

Nerval's Lobster writes: Ah, the famous "Google-style" algorithmic coding interview. If you've never had one of these interviews before, the idea is to see if you can write code that's not only correct, but efficient, too. You can expect to spend lots of time diagramming data structures and talking about big O notation. Popular hits include "reverse a linked list in place," "balance a binary search tree," and "find the missing number in an array." Like it or not, a "Google-style" coding interview may stand between you and your next job, so it's in your interest to figure out how to deal with it. Parker Phinney, founder of Interview Cake, uses a Dice column to break down a variety of example problems and then solve them. But it's not just about mastering the most common kinds of problems by rote memorization; it's also about recognizing the patterns that underlie those problems.

5 of 208 comments (clear)

  1. Alternate headline by Nidi62 · · Score: 5, Funny

    Get a job at Google using this one weird trick!

    --
    The only thing necessary for evil to triumph is for it to be pitted against a slightly greater evil
  2. That's nothing... by __aaclcg7560 · · Score: 5, Funny

    When I had an interview at Accolade, which got bought up by Infogrames and became the new Atari, I got asked the following question: "If two of your coworkers were having a fist fight out in the hallway, what would you do?"

    I blurted out, "Does that happen a lot around here?"

    My interviewers laughed. I got the job and worked there for six years. I've seen game controllers and keyboards destroyed in fits of rage, but no one ever got into a fist fight out in the hallway.

    The correct answer to the question is to take bets.

    1. Re:That's nothing... by Anonymous Coward · · Score: 1, Funny

      No wonder you're not management. The correct answer is to fix the outcome, then take bets.

  3. Re:not all sets have a solution by xxxJonBoyxxx · · Score: 1, Funny

    >> questions are all written in advance in the committee-based interview process, and anyone could potentially ask any kind of question. The twenty-two year old secretary could ask the interviewee [TOPIC], even if she has no idea what she even said

    Did you just tell us that you work for CNBC?

  4. Re:not all sets have a solution by SuperKendall · · Score: 4, Funny

    That's why when I go to interviews, the first question I get I just answer "I don't know", it saves a lot of time.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley