← Back to Dashboard

Pinterest Interview Questions

Curated from verified interview reports: a broad Coding slate - compressed grids, graph distance, EV routing, meeting scheduling, playlist graphs, and nested equality.

6 real interview questions reported from Pinterest Software Engineer interviews (Coding round): 5 medium, 1 hard. Each question shows its interview round and how often it was reported, and coding questions come with runnable tests.

Pinterest Coding round questions (6)

  • Compressed Grid Operations - Hard, free preview
    Implement a sparse matrix wrapper that stores only non-zero cells while still supporting dense addition and multiplication queries.
  • Degrees of Separation - Medium, free preview
    Given an undirected friendship graph, return the minimum number of hops between two users or -1 if they are disconnected.
  • EV Charging Optimizer - Medium
    Add at most k charging stops to minimize the worst gap between consecutive stops along a trip.
  • Maximum Meeting Schedule - Medium
    Schedule the largest possible number of non-overlapping meetings in a single room.
  • Playlist Song Connection - Medium
    Treat songs as nodes and playlists as edges, then count how many transitive song groups exist.
  • Unordered Nested Equality - Medium
    Recursively compare two nested configurations where order never matters, but multiplicity still does.