8 practice questions for Snapchat technical interviews
codingMediumVerified
Largest Island Perimeter
Category: Grid/matrix coding problemYou are given an m x n binary grid where each cell is either '1' (land) or '0' (water). A group of connected land cells (connected horizontally...Input: 2D grid Output: Computed result
codingMediumVerified
Parallel Task Batching
Category: Graph coding problemA pipeline must execute a set of tasks with dependency constraints. Each dependency [A, B] means task A must complete before task B can start....Input: Graph (nodes and edges) Output: Computed result
codingMediumVerified
Island Statistics
Category: Grid/matrix coding problemYou are given an m x n binary grid where '1' is land and '0' is water. For each island (a connected group of land cells using horizontal and...Input: 2D grid Output: Array
codingMediumVerified
Unfriended Pairs Counter
Category: Algorithm coding problemIn a social network of n people labeled 0 to n - 1, friendship is mutual and transitive through direct connections. People belong to the same...Input: List Output: Computed result
codingHardVerified
Expression Calculator
Category: String coding problemImplement a calculator that evaluates a mathematical expression given as a string s. The expression may contain positive and negative integers, the...Input: String Output: Computed result
codingHardVerified
Prime Subset Products
Category: Array coding problemGiven an array primes where every element is a prime number (duplicates are allowed), find all distinct products that can be formed by multiplying...Input: Array Output: Computed result
codingMediumVerified
Peak Attendance Finder
Category: Interval-based coding problemYou are organizing an event. Each attendee's presence is described by a half-open interval [entry, exit), meaning they are present at every integer...Input: List Output: Integer
codingMediumVerified
Org Chart Builder
Category: String coding problemA company has a list of employees. Each entry has three strings: [id, manager_id, name]. The CEO is the only employee whose manager_id equals...Input: List Output: Computed result
No AI generated questions yet for Snapchat.
Start practicing Snapchat questions
Sign up for free to access walkthroughs, AI-generated questions, and more.