Pinterest logo

Pinterest Hard Interview Questions

2 hard-level practice questions for Pinterest technical interviews

coding Hard Verified Question #1

1. 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 Hard Verified Question #2

2. 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

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