Snapchat Software Engineer Coding & Algorithms Interview Questions
Practice the exact questions companies are asking right now.

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
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...
Implement a custom list with iterator and map
You are asked to implement a simple generic list type without using any built-in collection classes (e.g., no ArrayList, LinkedList, Vector, etc.). Yo...
Determine escape path with blockers and spreading fire
You are given a 2D grid representing a grassland. - Each cell is one of: - S: start - T: target - .: free cell - #: blocked cell (cannot enter...
Maximize correct guesses in a hat line puzzle
Problem (Hat Guessing Strategy) There are N people standing in a line. Each person wears a hat that is either Red or Blue. - Person i can see the hats...
Find minimum-latency path across dependent services
You are given a set of services and directed dependencies between them. Each dependency edge represents a call from one service to another with a know...
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 ...
Implement a search autocomplete suggestion service
Design an autocomplete component that suggests the most relevant search phrases as a user types. You are given historical sentences with their usage c...
Check if a binary tree is complete
You are given the root of a binary tree. Determine whether the tree is a complete binary tree. A binary tree is complete if: - Every level, except pos...
Implement a dictionary without built-in Dictionary
Implement a key-value map type (a “dictionary” / hash map) from scratch, without using the language’s built-in dictionary/map as the underlying storag...
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 ...
Implement a Leaky Bucket Limiter
Design and implement an in-memory leaky-bucket rate limiter. A limiter is configured with: - capacity: the maximum amount of queued load the bucket ca...
Check whether an integer is a power of two
Given a signed 32-bit integer n, return true if n is an exact power of 2, otherwise return false. A power of 2 is a number of the form 2^k where k >= ...
Implement a size-bounded LRU cache
Design and implement an LRU (Least Recently Used) cache where the cache capacity is measured by total size, not by item count. Each cached item has a ...
Find max node-value range across components
Problem You are given an undirected graph with: - n: number of nodes (assume nodes are labeled 1..n) - from[]: list of edge start nodes - to[]: list o...
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...
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....
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...
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...
Compute maximum perimeter among islands
Problem You are given an m x n binary grid grid where: - grid[r][c] = 1 represents land - grid[r][c] = 0 represents water An island is a maximal set o...
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...