16 practice questions for Pinterest technical interviews
codingMediumVerified
Article Ranking System
Category: String coding problemDesign an article ranking system for a news platform. The system stores articles identified by a unique integer ID, a relevance score, and a category...Input: List Output: Array
codingMediumVerified
Audit Log Analyzer
Category: Graph coding problemDesign an audit log analyzer for a financial transactions platform. The system is initialized with a list of log entries, where each entry is a...Input: Graph (nodes and edges) Output: Computed result
codingHardVerified
Compressed Grid Operations
Category: Matrix coding problemDesign a CompressedGrid class that stores a sparse integer matrix efficiently by keeping only non-zero values in memory. The class must support...Input: Matrix (2D array) Output: Computed result
codingMediumVerified
Coworking Desk Availability
Category: Interval-based coding problemA co-working space manages desk reservations throughout the day. Given the space's operating hours, its total desk capacity, and a list of bookings,...Input: List Output: Array
codingMediumVerified
Degrees of Separation
Category: Algorithm coding problemIn a social network, there are n users numbered from 0 to n - 1. You are given a list of bidirectional friend connections connections, where...Input: List Output: Integer
codingMediumVerified
Directory Permission Manager
Category: Tree coding problemDesign a permission management system for a hierarchical file system. Implement the DirectoryPermissionManager class. The directory hierarchy is...Input: List Output: Computed result
codingMediumVerified
EV Charging Optimizer
Category: Binary search coding problemAn electric vehicle travels along a highway between a start and a destination. Charging stations are located at positions given in a non-decreasing...Input: Array Output: Computed result
codingMediumVerified
Game Level Tracker
Category: String coding problemDesign a leaderboard system for a mobile game where players progress through levels sequentially. Implement the GameLevelTracker class. The game...Input: String Output: Integer
codingMediumVerified
Maximum Meeting Schedule
Category: Algorithm coding problemYou manage a single conference room and have a list of meeting requests. Each meeting is defined by a [start, end] pair. Two meetings overlap if...Input: List Output: Integer
codingMediumVerified
Playlist Song Connection
Category: Graph coding problemA music platform organizes songs into playlists. Each playlist contains a set of distinct song IDs, and a song may appear in multiple playlists. Two...Input: Graph (nodes and edges) Output: Integer
codingMediumVerified
Request Anomaly Linker
Category: Trie-based coding problemYou are building an anomaly detection system for a distributed platform. The system receives request logs and anomaly reports, and must link each...Input: Array of strings Output: Array
codingHardVerified
Run Length Decode All
Category: Graph coding problemA signal log is compressed using run-length encoding. In this scheme, a source string of digits is scanned left to right, and each run of identical...Input: Graph (nodes and edges) Output: Array
codingMediumVerified
Timed Job Queue
Category: Priority queue coding problemDesign a background job scheduling system called TimedJobQueue. The system accepts jobs with an associated delay and executes them in delay order....Input: List Output: Array
codingMediumVerified
Unordered Nested Equality
Category: String coding problemTwo configurations are considered equal if they contain the same elements regardless of order at every level of nesting. Elements can be atomic...Input: List Output: Computed result
codingMediumVerified
Warehouse Drone Dispatch
Category: String coding problemA vertical warehouse uses autonomous drones to fulfill package requests. Each drone is at a specific floor and has one of three states:...Input: List Output: Integer
codingMediumVerified
Warehouse Item Counter
Category: Grid/matrix coding problemYou are building a warehouse inventory scanner that analyzes a 2D grid representing a warehouse floor. Each cell is either 'X' (part of an item) or...Input: 2D grid Output: Computed result
No AI generated questions yet for Pinterest.
Start practicing Pinterest questions
Sign up for free to access walkthroughs, AI-generated questions, and more.