Snapchat - Phone Interview - Reject

snapchat logo
snapchat
Rejected
October 25, 20213 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.

Full Experience

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.

Interview Questions (3)

Q1
Why Snapchat?
Behavioral

Describe your motivation for wanting to work at Snapchat.

Q2
Discuss a Past Mistake
Behavioral

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

Q3
Palindrome Linked List
Data Structures & AlgorithmsEasy

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).

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

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