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 20 results
Role
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Maximize correct guesses in a hat line puzzle

This question evaluates logical reasoning about information constraints, group strategy design, and combinatorial encoding in the Coding & Algorithms ...

Coding & Algorithms
9
0
86 people solved
Feb 12, 2026
Snapchat logo
Snapchat
Hard
Software Engineer Locked

Implement a search autocomplete suggestion service

This question evaluates proficiency in designing efficient prefix-matching and ranking mechanisms, including management of incremental query state and...

Coding & Algorithms
10
0
85 people solved
Feb 11, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Find Maximum Island Perimeter

This question evaluates grid traversal and connected-component analysis skills, focusing on reasoning about perimeters and boundary conditions in bina...

Coding & Algorithms
2
0
37 people solved
Apr 5, 2026
Snapchat logo
Snapchat
Hard
Software Engineer

Implement LRU cache and prime products array

You are given two separate coding tasks. Task 1: Implement an LRU cache Implement an in-memory cache with a fixed capacity that evicts the least recen...

Coding & Algorithms
12
0
92 people solved
Oct 28, 2025
Snapchat logo
Snapchat
Hard
Software Engineer Locked

Implement a size-bounded LRU cache

This question evaluates a candidate's ability to design and implement efficient data structures for capacity-bound caching, focusing on handling varia...

Coding & Algorithms
3
0
50 people solved
Jan 2, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Implement a custom list with iterator and map

This question evaluates proficiency in data structures and generic collection implementation, specifically list operations, iterator semantics, and hi...

Coding & Algorithms
8
0
86 people solved
Mar 1, 2026
Snapchat logo
Snapchat
Medium
Software Engineer

Solve a two-jug measuring problem

You are given two jugs with capacities x and y liters and an unlimited water source. You may perform these operations: fill a jug, empty a jug, or pou...

Coding & Algorithms
7
0
69 people solved
Sep 6, 2025
Snapchat logo
Snapchat
Hard
Software Engineer Locked

Find minimum-latency path across dependent services

This question evaluates understanding of graph algorithms and shortest-path computation on weighted directed graphs, including handling cycles, multip...

Coding & Algorithms
4
0
51 people solved
Feb 11, 2026
Snapchat logo
Snapchat
Medium
Software Engineer

Compute sliding window median

Question LeetCode 480. Sliding Window Median: Given an array nums and an integer k, find the median of each sliding window of size k as the window mov...

Coding & Algorithms
10
0
50 people solved
Jul 29, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Implement XML tokenizer and parser with operations

Implement XML tokenizer and parser with operations You are given either (a) a raw XML-like string such as <catalog><book><author>Gambardella, Matthew<...

Coding & Algorithms
3
0
67 people solved
Aug 10, 2025
Snapchat logo
Snapchat
Hard
Software Engineer Locked

Implement a Leaky Bucket Limiter

This question evaluates understanding of rate-limiting algorithms (leaky bucket), concurrent programming, time-based state management, and thread-safe...

Coding & Algorithms
4
0
35 people solved
Feb 23, 2026
Snapchat logo
Snapchat
Hard
Software Engineer Locked

Determine escape path with blockers and spreading fire

This question evaluates graph traversal and grid-based pathfinding skills, including connectivity analysis, obstacle handling, and reasoning about tim...

Coding & Algorithms
2
0
43 people solved
Feb 11, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Solve Three Coding Problems

This set of problems evaluates competencies in streaming data handling and incremental aggregation, time-dependent grid traversal and reachability und...

Coding & Algorithms
2
0
24 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 Locked

Find max node-value range across components

This question evaluates understanding of undirected graph connectivity and component-wise aggregation, specifically the ability to identify connected ...

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

Check whether an integer is a power of two

This question evaluates proficiency in bit-level reasoning and integer arithmetic, specifically understanding binary representations and the propertie...

Coding & Algorithms
6
0
68 people solved
Jan 2, 2026
Snapchat logo
Snapchat
Medium
Software Engineer

Solve rotating-lock BFS with blockers

You are given a 4-digit lock starting at "0000". In one move, you may pick a single position and rotate it +1 or −1 with wrap-around (0→9 on −1, 9→0 o...

Coding & Algorithms
2
0
49 people solved
Jul 31, 2025
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Compute maximum perimeter among islands

This question evaluates a candidate's proficiency with grid traversal, connected-component identification, and perimeter computation in binary matrice...

Coding & Algorithms
4
0
46 people solved
Oct 21, 2025
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Implement a recent-use eviction cache

This question evaluates a candidate's ability to design and implement a fixed-capacity key-value cache with a recent-use eviction policy, emphasizing ...

Coding & Algorithms
1
0
27 people solved
Sep 29, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Find top co-purchased products

You receive purchase logs where each order is represented as an integer array of product IDs bought together in a single transaction. Implement a func...

Coding & Algorithms
3
0
51 people solved
Sep 6, 2025

Explore more Snapchat Software Engineer interview questions

Real questions from candidate reports, grouped by topic.

Browse all