Snapchat Software Engineer Coding & Algorithms Interview Questions

Practice 39 real Coding & Algorithms interview questions for Software Engineer roles at Snapchat.

39 Questions 1 Company04.05.2026
Showing 19 results
Role
Snapchat logo
Snapchat
Medium
Software Engineer

Find index of first unique character

Find index of first unique character Given a string s, return the index of the first character that appears exactly once; if none exists, return -1. A...

Coding & Algorithms
6
0
43 people solved
Jul 28, 2025
Snapchat logo
Snapchat
Hard
Software Engineer

Solve Three Algorithmic Tasks

You were asked three coding problems: 1. Count events inside a time window - You are given an initial collection of event timestamps in HH:MM:SS fo...

Coding & Algorithms
3
0
31 people solved
Mar 18, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Implement a Timestamped Counter

This question evaluates the ability to design and implement time-indexed counting data structures, reason about strictly increasing timestamps and que...

Coding & Algorithms
2
0
47 people solved
Mar 1, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Check if a binary tree is complete

This question evaluates understanding of binary tree properties and traversal techniques, testing competency in data structures and algorithmic reason...

Coding & Algorithms
6
0
46 people solved
Feb 8, 2026
Snapchat logo
Snapchat
Medium
Software Engineer

Implement a thread-safe rate limiter

Design and implement a per-user API rate limiter. Requirements: - Method: boolean allow(String userId, long nowMillis) returns whether the request is ...

Coding & Algorithms
5
0
64 people solved
Jan 26, 2026
Snapchat logo
Snapchat
Medium
Software Engineer

Compute minimum escape time in a grid

You are given a 2D floor plan grid. Each cell is one of: - . empty space (walkable) - # wall/blocked (not walkable) - P a person - E an exit A person ...

Coding & Algorithms
7
0
55 people solved
Jan 26, 2026
Snapchat logo
Snapchat
Medium
Software Engineer

Determine Whether a Word Transformation Exists

Given a beginWord, an endWord, and a list of valid words wordList, determine whether it is possible to transform beginWord into endWord. Rules: - Each...

Coding & Algorithms
1
0
31 people solved
Jan 25, 2026
Snapchat logo
Snapchat
Hard
Software Engineer

Compute shortest path in a 2D grid

Given an m x n grid where: - 0 represents an empty cell you can move through - 1 represents a blocked cell you cannot enter - movement is allowed in 4...

Coding & Algorithms
3
0
39 people solved
Jan 4, 2026
Snapchat logo
Snapchat
Hard
Software Engineer Locked

Implement a dictionary without built-in Dictionary

This question evaluates understanding of hash tables and low-level data-structure implementation, including hashing, collision resolution, resizing/re...

Coding & Algorithms
8
0
60 people solved
Jan 2, 2026
Snapchat logo
Snapchat
Hard
Software Engineer

Compute longest increasing path in matrix

You are given an m x n grid (matrix) of integers grid, where m >= 1 and n >= 1. A path in the matrix is a sequence of cells where: - You may move from...

Coding & Algorithms
5
0
67 people solved
Dec 8, 2025
Snapchat logo
Snapchat
Hard
Software Engineer

Count ways to decode digit string

You are given a string s consisting of digits '0' to '9'. The string encodes a message using the following mapping: - '1' → A, '2' → B, ..., '26' → Z....

Coding & Algorithms
12
0
83 people solved
Dec 8, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Implement sin(x) with precision constraints

Coding Question: Implement sin(x) Implement a function that returns an approximation of the trigonometric sine function. Function signature - Input: a...

Coding & Algorithms
4
0
67 people solved
Nov 26, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Design Manhattan-distance meeting point finder

Given an m×n grid with cells marked 1 for homes and 0 otherwise, choose a single meeting cell that minimizes the sum of Manhattan distances from all h...

Coding & Algorithms
5
0
49 people solved
Sep 6, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Compute islands in a binary grid

You are given an m-by-n grid of characters where '1' represents land and '0' represents water. Count the number of connected land masses (islands) usi...

Coding & Algorithms
3
0
46 people solved
Sep 6, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Implement binary search for boundary index

Given a sorted integer array nums (length n) and an integer target t, return the index of the first element in nums that is greater than or equal to t...

Coding & Algorithms
7
0
57 people solved
Sep 6, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Count islands with eight-direction adjacency

You are given an m×n grid of characters '1' (land) and '0' (water). Count the number of islands, where cells are connected if they touch in any of the...

Coding & Algorithms
2
0
39 people solved
Aug 13, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Solve Open the Lock BFS

Question LeetCode 752. Open the Lock – Given an initial lock state "0000", a target combination, and a list of deadend combinations that cannot be use...

Coding & Algorithms
4
0
65 people solved
Aug 4, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Determine blockage and parse HTML tokens

Question Given a set of 2-D circular stones, determine whether they can completely block the width of a river. You may define the input format. Given ...

Coding & Algorithms
19
0
52 people solved
Jul 29, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Handle cards, islands, Trie, median

Question LeetCode 914. X of a Kind in a Deck of Cards LeetCode 694. Number of Distinct Islands LeetCode 208. Implement Trie (Prefix Tree) LeetCode 295...

Coding & Algorithms
11
0
32 people solved
Jul 29, 2025

Explore more Snapchat Software Engineer interview questions

Real questions from candidate reports, grouped by topic.

Browse all