Snapchat - Phone Interview - Reject

Result
Rejected
Posted
25 Oct 2021
249 reads

Summary

I had a phone interview with Snapchat for an unspecified role, which unfortunately resulted in a rejection. The interview consisted of behavioral questions and a coding challenge involving the Palindrome Linked List problem, where I made a minor error in value comparison logic.

How it went

My phone interview experience with Snapchat began with a series of behavioral questions. I was asked to articulate "Why Snap?" and to "Talk about a past mistake," which I addressed to the best of my ability.

Following the behavioral segment, I moved on to the coding portion. The problem presented was akin to the Palindrome Linked List question, with the twist that the ListNode was generic, requiring me to use integers as node values based on the specific question requirements. I clarified the problem statement and then outlined my solution strategy: reverse the second half of the linked list and then compare nodes from the first half with those from the reversed second half. I proceeded to quickly write the code, aiming for cleanliness.

However, during the comparison of node values, I inadvertently used the == operator (e.g., if (node1.val==node2.val) continue;) instead of the appropriate .equals() method or explicitly calling intValue(). This error led to two test cases failing. The interviewer promptly identified the problematic line. I immediately recognized my mistake, explaining that .equals() should be used for comparing objects. The interviewer mentioned that this is a common pitfall for many engineers.

With about ten minutes remaining in the interview, I used the opportunity to ask about Snapchat's culture. Disappointingly, despite following up a week later, I was never officially notified about my rejection.

Questions asked (3)

  1. 01

    Why Snapchat?

    Behavioral

    Describe your motivation for wanting to work at Snapchat.

  2. 02

    Discuss a Past Mistake

    Behavioral

    Share an experience where you made a mistake and what you learned from it.

  3. 03

    Palindrome Linked List

    Data Structures & Algorithms · Easy

    Given the head of a singly linked list, return true if it is a palindrome or false otherwise. The ListNode was generic, but I used integer as value of each node. I explained my solution (reverse the second half and compare each node from first half to the second half).

    Open the problem

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Snapchat recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!