|tips

Goldman Sachs vs Snapchat: Interview Question Comparison

Compare coding interview questions at Goldman Sachs and Snapchat — difficulty levels, topic focus, and preparation strategy.

When preparing for technical interviews at top tech companies, understanding the specific focus and expectations of each can dramatically improve your efficiency. Goldman Sachs and Snapchat represent two distinct ends of the financial tech and social media spectrum, which is clearly reflected in their technical interview question patterns. While both assess core data structures and algorithms, their emphasis on question volume, difficulty distribution, and key topics differs significantly.

Question Volume and Difficulty

Goldman Sachs presents a much larger pool of reported questions, with 270 total compared to Snapchat's 99. This volume suggests a broader range of potential problems, making pattern recognition slightly more challenging.

The difficulty distribution also reveals different hiring philosophies:

  • Goldman Sachs (E51/M171/H48): The majority of questions are Medium (171), with a substantial number of Easy (51) and Hard (48). This spread indicates a balanced but rigorous process, expecting strong competency across fundamental and complex problem-solving.
  • Snapchat (E6/M62/H31): The focus is overwhelmingly on Medium difficulty (62), with a notable number of Hard (31) and very few Easy (6). This skew suggests Snapchat interviews are designed to quickly filter for candidates who can handle challenging, nuanced problems typical in high-performance systems.

Topic Overlap

Both companies heavily test Array, String, and Hash Table problems. These form the essential toolkit for any technical interview. A question involving two-sum or anagram grouping could appear at either company.

# Example Hash Table problem (Two Sum)
def two_sum(nums, target):
    seen = {}
    for i, num in enumerate(nums):
        complement = target - num
        if complement in seen:
            return [seen[complement], i]
        seen[num] = i
    return []

The critical divergence is in the fourth most frequent topic:

  • Goldman Sachs: Dynamic Programming. This aligns with quantitative and optimization problems common in finance. Expect questions on knapsack variants, longest increasing subsequence, or stock trading problems.
  • Snapchat: Breadth-First Search. This reflects the graph and network-related problems inherent to social platforms (e.g., finding shortest paths, levels of connection, or social network degrees).
# Example BFS problem (Level Order Traversal)
from collections import deque
def level_order(root):
    if not root:
        return []
    result = []
    queue = deque([root])
    while queue:
        level_size = len(queue)
        level = []
        for _ in range(level_size):
            node = queue.popleft()
            level.append(node.val)
            if node.left:
                queue.append(node.left)
            if node.right:
                queue.append(node.right)
        result.append(level)
    return result

Which to Prepare for First

Prepare for Goldman Sachs first. Its broader question pool and emphasis on core topics (Arrays, Strings, Hash Tables, DP) create a strong, versatile foundation. Mastering Dynamic Programming, in particular, is a high-yield investment that sharpens advanced problem-solving skills. Once comfortable with these and a wide range of Medium problems, transitioning to Snapchat's focus becomes more manageable. You would then deepen your knowledge of graph algorithms (BFS/DFS) and practice a higher concentration of Medium-to-Hard problems to meet Snapchat's intensity.

This strategy builds from a wide base to a targeted peak, efficiently covering the overlapping needs of both.

For specific question lists and patterns, visit the Goldman Sachs and Snapchat company pages.

Related Articles