Pinterest Coding Interview Questions

48 DSA problems tagged as asked in Pinterest coding interviews and online assessments. Below are all 48: 1 easy, 30 medium and 17 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Pinterest DSA problems, easiest first

  1. Is Subsequence (Easy)
  2. Accounts Merge (Medium)
  3. Candy Crush (Medium)
  4. Coin Change (Medium)
  5. Combination Sum (Medium)
  6. Count and Say (Medium)
  7. Delete Nodes And Return Forest (Medium)
  8. Design A Leaderboard (Medium)
  9. Dot Product of Two Sparse Vectors (Medium)
  10. Find First and Last Position of Element in Sorted Array (Medium)
  11. Find the Celebrity (Medium)
  12. Letter Combinations of a Phone Number (Medium)
  13. Longest Word in Dictionary (Medium)
  14. Meeting Rooms II (Medium)
  15. Merge Intervals (Medium)
  16. Minimize Result by Adding Parentheses to Expression (Medium)
  17. Multiply Strings (Medium)
  18. Number of Islands (Medium)
  19. Number of Provinces (Medium)
  20. Possible Bipartition (Medium)
  21. Put Boxes Into the Warehouse I (Medium)
  22. Put Boxes Into the Warehouse II (Medium)
  23. Reorganize String (Medium)
  24. Shortest Way to Form String (Medium)
  25. Sparse Matrix Multiplication (Medium)
  26. String Compression (Medium)
  27. Target Sum (Medium)
  28. The Maze (Medium)
  29. The Number of Weak Characters in the Game (Medium)
  30. Top K Frequent Elements (Medium)
  31. Unique Paths II (Medium)
  32. Bus Routes (Hard)
  33. Count Subarrays With Score Less Than K (Hard)
  34. Design Search Autocomplete System (Hard)
  35. Employee Free Time (Hard)
  36. Expression Add Operators (Hard)
  37. Find Median from Data Stream (Hard)
  38. Find Median Given Frequency of Numbers (Hard)
  39. Find Minimum Time to Finish All Jobs (Hard)
  40. Maximum Profit in Job Scheduling (Hard)
  41. Meeting Rooms III (Hard)
  42. Merge k Sorted Lists (Hard)
  43. Optimal Account Balancing (Hard)
  44. Reconstruct Itinerary (Hard)
  45. Shortest Path in a Grid with Obstacles Elimination (Hard)
  46. Split Array Largest Sum (Hard)
  47. Text Justification (Hard)
  48. Unique Paths III (Hard)

Prepare for the rest of the Pinterest process

Other companies