Pinterest Software Engineer Coding & Algorithms Interview Questions
Practice the exact questions companies are asking right now.

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Find First Prefix-Matching Word
Given an array of strings words and a prefix string prefix, return the smallest index i such that words[i] starts with prefix. If no word matches, ret...
Compute reachable cells for a cleaning robot
You are given a 2D grid representing a floor plan: - 0 = free cell (the robot may stand on it) - 1 = blocked cell (obstacle) The robot can move from a...
Solve Four Interview Coding Problems
The interview included four coding problems of the following form: 1. Given a list of airline tickets represented as [from, to], use every ticket exac...
Solve Two Grid Search Problems
Solve the following two coding problems. 1. Count disconnected land regions - You are given an m x n grid of characters where '1' represents land a...
Reconstruct route from unordered travel tickets
You are given a list of directed travel tickets, each represented as a pair [from, to] (city names are strings), e.g. [["A","B"],["B","C"], ...]. The ...
Implement sparse matrix storage, addition, and multiplication
Design a way to store a sparse matrix (most entries are zero) and implement efficient operations. You are given matrices using their non-zero entries:...
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...
Design a violation log analyzer
You are given an append-only list of violation events as tuples (id: string, policy: string, date: ISO-8601 string). Build an in-memory "Violation Log...
Solve set equality and ad log top‑K
Problem Set (Coding) 1) Check whether two sets are equal You are given two integer arrays A and B that represent sets, except they may contain duplica...
Implement stream line reader and settle balances
Part 1: Streaming line reader from chunked source You are given an existing class ChunkSource with a method nextChunk() that returns the next piece of...
Determine equality of arbitrarily nested sets
Implement a function that determines whether two arbitrarily nested sets are equal. Sets are unordered and contain no duplicates; elements can be inte...
Reconstruct itinerary with lexicographic ties
You are given m airline tickets as directed pairs [from, to]. Build an itinerary that starts at a specified airport start (e.g., "JFK") and uses every...
Settle debts with minimal transactions
You are given a list of debts as triples (debtor, creditor, amount), where each amount > 0. Return a set of settlement transfers (from, to, amount) th...
Decide target via subsequence plus/multiply expression
Given a sequence of positive 32-bit integers A and an integer target, determine whether there exists a subsequence of A (preserving order, using each ...
Determine subsequence expression equals target
Question Given a sequence of positive 32-bit integers A and an integer target, determine whether there exists a subsequence of A (each element used at...
Implement string-based integer multiplication
Given two non-negative integers represented as decimal strings, return their product as a decimal string without using built-in big-integer or arbitra...
Design ID allocator with resizable bucket ranges
Given a fixed global ID space [0, 999] and an initial list of bucket specifications, where each bucket has a unique name and an inclusive ID range [st...
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...
Design adjustable ID allocator
You manage an integer ID space [0, 999] and N named buckets in a fixed order. Implement two operations: ( 1) allocate(buckets: List<(name, desired_siz...
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. You may board a shuttle at any...