Pinterest logo

Pinterest Interview Questions

16 practice questions for Pinterest technical interviews

coding Medium Verified

Article Ranking System


Category: String coding problem
Design 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
coding Medium Verified

Audit Log Analyzer


Category: Graph coding problem
Design 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
coding Hard Verified

Compressed Grid Operations


Category: Matrix coding problem
Design 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
coding Medium Verified

Coworking Desk Availability


Category: Interval-based coding problem
A 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
coding Medium Verified

Degrees of Separation


Category: Algorithm coding problem
In 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
coding Medium Verified

Directory Permission Manager


Category: Tree coding problem
Design a permission management system for a hierarchical file system. Implement the DirectoryPermissionManager class. The directory hierarchy is...
Input: List
Output: Computed result
coding Medium Verified

EV Charging Optimizer


Category: Binary search coding problem
An 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
coding Medium Verified

Game Level Tracker


Category: String coding problem
Design a leaderboard system for a mobile game where players progress through levels sequentially. Implement the GameLevelTracker class. The game...
Input: String
Output: Integer
coding Medium Verified

Maximum Meeting Schedule


Category: Algorithm coding problem
You 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
coding Medium Verified

Playlist Song Connection


Category: Graph coding problem
A 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
coding Medium Verified

Request Anomaly Linker


Category: Trie-based coding problem
You 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
coding Hard Verified

Run Length Decode All


Category: Graph coding problem
A 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
coding Medium Verified

Timed Job Queue


Category: Priority queue coding problem
Design 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
coding Medium Verified

Unordered Nested Equality


Category: String coding problem
Two 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
coding Medium Verified

Warehouse Drone Dispatch


Category: String coding problem
A 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
coding Medium Verified

Warehouse Item Counter


Category: Grid/matrix coding problem
You 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.

Get Started Free