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 Question#2
2. 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 Question#3
3. 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 Question#4
4. 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
codingMediumVerified Question#5
5. 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 Question#6
6. 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.