Pinterest Software Engineer Coding & Algorithms Interview Questions

Practice 30 real Coding & Algorithms interview questions for Software Engineer roles at Pinterest.

30 Questions 1 Company08.02.2026
Showing 10 results
Role
Pinterest logo
Pinterest
Medium
Software Engineer Locked

Solve Four Interview Coding Problems

This question set evaluates algorithmic problem-solving skills including graph traversal and itinerary reconstruction, time-sorted search and binary s...

Coding & Algorithms
8
0
60 people solved
Feb 1, 2026
Pinterest logo
Pinterest
Medium
Software Engineer Locked

Solve Two Grid Search Problems

This question evaluates proficiency in graph traversal on grids, specifically competencies in identifying connected components and modeling propagatio...

Coding & Algorithms
11
0
76 people solved
Jan 28, 2026
Pinterest logo
Pinterest
Medium
Software Engineer Locked

Compute reachable cells for a cleaning robot

This question evaluates understanding of graph traversal, state-space modeling, and scalability when computing reachable cells on a 2D grid under 8-di...

Coding & Algorithms
38
0
270 people solved
Jan 22, 2026
Pinterest logo
Pinterest
Medium
Software Engineer Locked

Implement sparse matrix storage, addition, and multiplication

This question evaluates understanding of sparse matrix representations, algorithmic efficiency for linear algebra operations, and the ability to manip...

Coding & Algorithms
10
0
136 people solved
Jan 6, 2026
Pinterest logo
Pinterest
Medium
Software Engineer

Implement a min-heap column allocator

You are given an integer k (number of columns) and an array posts of positive integers where posts[i] is the height of the i-th post. All columns star...

Coding & Algorithms
22
0
187 people solved
Sep 6, 2025
Pinterest logo
Pinterest
Medium
Software Engineer

Cross-reference logs to flag spam numbers

You are given two data sets: ( 1) a call log containing phone numbers observed in calls and ( 2) a list of user reports where each entry is a phone nu...

Coding & Algorithms
7
0
130 people solved
Sep 6, 2025
Pinterest logo
Pinterest
Medium
Software Engineer

Design adjustable ID allocator

Question You manage a fixed global integer ID space [0, 999] (1000 IDs total) and a set of named buckets. Each bucket has a unique name and occupies a...

Coding & Algorithms
14
0
141 people solved
Sep 6, 2025
Pinterest logo
Pinterest
Medium
Software Engineer

Decide target via subsequence plus/multiply expression

Question Given a sequence of positive 32-bit integers A and an integer target, determine whether there exists a subsequence of A (preserving order, us...

Coding & Algorithms
12
0
183 people solved
Sep 6, 2025
Pinterest logo
Pinterest
Medium
Software Engineer

Round numeric string values

Question Given a numeric string, implement rounding to the nearest integer (e.g., '3.5' → '4', '100.01' → '100'). Follow-up: round to the last signifi...

Coding & Algorithms
14
0
32 people solved
Jul 29, 2025
Pinterest logo
Pinterest
Medium
Software Engineer

Find minimum shuttle transfers

Find minimum shuttle transfers You are given a collection of shuttle loops, each represented by a list of stop IDs that the loop visits in perpetuity....

Coding & Algorithms
9
0
93 people solved
Jul 26, 2025

Explore more Pinterest Software Engineer interview questions

Real questions from candidate reports, grouped by topic.

Browse all