Pinterest Software Engineer interview questions

49 Software Engineers have shared notes from their Pinterest interviews, with the questions they were asked in each round. That is 40% of the 123 Pinterest interview notes on Screna AI.

49 Software Engineer interview notes

Pinterest·Software Engineer·Technical Phone Screen

Jun 2026
Pinterest SWE interview with a string problem that looks trivial but has a few gotchas worth thinking through ahead of time.
  • Given two strings, return true if every character in the second string also appears in the first string.

“My first instinct was to sort both strings and do some kind of two-pointer thing, which would've been messier and slower.”

View Post

Pinterest·Software Engineer·Onsite - System Design / Architecture

Jun 2026
System design round at Pinterest for a software engineering role. The whole thing was focused on autocomplete, which sounds straightforward until you actually have to think through the full stack at scale.
  • Design an autocomplete / input-suggestion service for a search engine that returns the top-K suggestions per prefix as the user types.
  • How would you handle freshness for trending queries while keeping latency under 100ms at billions of queries per day?
  • How would you incorporate typo tolerance and personalization into the ranking of suggestions?

“This was the core question and it ate the whole session.”

View Post

Pinterest·Software Engineer·Onsite - System Design / Architecture

Jun 2026
Pinterest system design round focused on a graph connectivity problem using pins as nodes. The whole session revolved around one problem but went pretty deep into tradeoffs and scaling concerns.
  • Given a graph where pins are nodes and edges represent relationships like shared boards or users, how would you determine if two pins are connected? What data structures would you use, and how does your approach change at the scale of millions of pins and billions of edges?
  • How would you identify and list all connected components across the full pin graph?

“Started with adjacency lists and BFS, which felt fine for small inputs.”

View Post

Pinterest·Software Engineer·Technical Phone Screen

Jun 2026
Pinterest coding round for a software engineer role. One problem, algorithmic, not too flashy on the surface but the edge cases sneak up on you if you're not careful about how you model balances.
  • Given a list of transactions where each transaction has a sender, one or more recipients, and a total amount split among recipients, return any valid list of paybacks such that every user ends up with a net balance of zero.

“The 'any valid solution' part is what saves you here, no need to minimize transactions.”

View Post

Pinterest·Software Engineer·Technical Phone Screen

Jun 2026
Pinterest coding screen, one question about grid traversal. Pretty straightforward if you've done BFS/DFS problems before, but there were some wrinkles in the follow-up that slowed me down.
  • A robot vacuum moves on a 2D grid and can travel in all 8 directions (cardinal and diagonal). Starting from a given cell with no obstacles, implement a traversal to mark every reachable cell and return the count. Discuss the time and space complexity relative to grid size.

“I went with BFS, which felt cleaner to reason about for this kind of flood-fill thing.”

View Post

Pinterest·Software Engineer·Onsite - System Design / Architecture

Jun 2026
Pinterest system design round focused entirely on building a notification system from scratch. Pretty deep dive, they wanted the full stack: API, storage, fan-out, delivery channels, the works.
  • Design an in-app notification system that supports real-time and persistent notifications (mentions, replies, system events), read/unread state, badges, notification history, and handles large-scale fan-out with durability, deduplication, and graceful degradation.

“This one sprawled fast.”

View Post

Pinterest·Software Engineer·Onsite - System Design / Architecture

Jun 2026
Pinterest system design round for a software engineer role, one question the whole time, pretty deep dive into data structures and runtime guarantees. Felt like a solid problem but I kept second-guessing myself on the leaderboard part.
  • Design a data structure to model the state of an escape-room game. Player movement and room lookups must each be O(1), and the leaderboard must return players sorted by position descending in O(N + k), with ties broken by who entered the room first.

“I started with a hash map from player id to position, which covers the O(1) movement and lookup requirements fine.”

View Post

Pinterest·Software Engineer·Technical Phone Screen

Jun 2026
Pinterest SWE coding round, one question the whole time. Pretty focused on string parsing and knowing when to push back on ambiguous specs.
  • Given a string of even length containing only digit characters, decode it by treating each consecutive pair of characters as a (count, digit) pair and returning the expanded string. For example, "2345" becomes "335555".

“Basically the reverse of that classic count-and-say problem.”

View Post

Pinterest·Software Engineer·Onsite - System Design / Architecture

Jun 2026
System design round at Pinterest for a software engineer role. The whole session was basically one big leaderboard question that kept expanding every time I thought I'd covered it.
  • Design a real-time leaderboard service for something like a multiplayer game or fitness app, supporting score submission, rank lookup, top-K queries, and neighbor queries around a user's rank.
  • How would you handle bursty write traffic during live events while keeping read latency under 50ms?
  • What are the trade-offs between storing exact ranks versus approximate ranks, and when would you use something like a count-min sketch or bucket-based segment tree?
  • How would you design the leaderboard reset mechanism for new seasons, and what consistency guarantees matter most during a reset?
  • How would you extend the design to support tiered, regional, or friend-based leaderboards?

“I jumped straight to Redis sorted sets which felt right, but I fumbled explaining why ZREVRANK is fine for exact rank until you're at massive scale.”

View Post

Pinterest·Software Engineer·Hiring Manager Screen

Jun 2026
Pinterest interview with a question about hiring criteria and how to screen for them. Not much else to go on from what was shared.
  • If you were building out your team, what qualities would you prioritize in a new hire and how would you actually test for those things during interviews?

“This one made me pause more than I expected.”

View Post