# Pinterest Coding Interview Questions

> 48 DSA problems asked in Pinterest coding interviews and online assessments, sorted easiest first with hints. Free practice for placements on InternHack.

Canonical: https://www.internhack.in/learn/dsa/companies/pinterest
Last updated: 2026-11-28

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](https://www.internhack.in/learn/dsa/problem/is-subsequence) (Easy)
2. [Accounts Merge](https://www.internhack.in/learn/dsa/problem/accounts-merge) (Medium)
3. [Candy Crush](https://www.internhack.in/learn/dsa/problem/candy-crush) (Medium)
4. [Coin Change](https://www.internhack.in/learn/dsa/problem/coin-change) (Medium)
5. [Combination Sum](https://www.internhack.in/learn/dsa/problem/combination-sum) (Medium)
6. [Count and Say](https://www.internhack.in/learn/dsa/problem/count-and-say) (Medium)
7. [Delete Nodes And Return Forest](https://www.internhack.in/learn/dsa/problem/delete-nodes-and-return-forest) (Medium)
8. [Design A Leaderboard](https://www.internhack.in/learn/dsa/problem/design-a-leaderboard) (Medium)
9. [Dot Product of Two Sparse Vectors](https://www.internhack.in/learn/dsa/problem/dot-product-of-two-sparse-vectors) (Medium)
10. [Find First and Last Position of Element in Sorted Array](https://www.internhack.in/learn/dsa/problem/find-first-and-last-position-of-element-in-sorted-array) (Medium)
11. [Find the Celebrity](https://www.internhack.in/learn/dsa/problem/find-the-celebrity) (Medium)
12. [Letter Combinations of a Phone Number](https://www.internhack.in/learn/dsa/problem/letter-combinations-of-a-phone-number) (Medium)
13. [Longest Word in Dictionary](https://www.internhack.in/learn/dsa/problem/longest-word-in-dictionary) (Medium)
14. [Meeting Rooms II](https://www.internhack.in/learn/dsa/problem/meeting-rooms-ii) (Medium)
15. [Merge Intervals](https://www.internhack.in/learn/dsa/problem/merge-intervals) (Medium)
16. [Minimize Result by Adding Parentheses to Expression](https://www.internhack.in/learn/dsa/problem/minimize-result-by-adding-parentheses-to-expression) (Medium)
17. [Multiply Strings](https://www.internhack.in/learn/dsa/problem/multiply-strings) (Medium)
18. [Number of Islands](https://www.internhack.in/learn/dsa/problem/number-of-islands) (Medium)
19. [Number of Provinces](https://www.internhack.in/learn/dsa/problem/number-of-provinces) (Medium)
20. [Possible Bipartition](https://www.internhack.in/learn/dsa/problem/possible-bipartition) (Medium)
21. [Put Boxes Into the Warehouse I](https://www.internhack.in/learn/dsa/problem/put-boxes-into-the-warehouse-i) (Medium)
22. [Put Boxes Into the Warehouse II](https://www.internhack.in/learn/dsa/problem/put-boxes-into-the-warehouse-ii) (Medium)
23. [Reorganize String](https://www.internhack.in/learn/dsa/problem/reorganize-string) (Medium)
24. [Shortest Way to Form String](https://www.internhack.in/learn/dsa/problem/shortest-way-to-form-string) (Medium)
25. [Sparse Matrix Multiplication](https://www.internhack.in/learn/dsa/problem/sparse-matrix-multiplication) (Medium)
26. [String Compression](https://www.internhack.in/learn/dsa/problem/string-compression) (Medium)
27. [Target Sum](https://www.internhack.in/learn/dsa/problem/target-sum) (Medium)
28. [The Maze](https://www.internhack.in/learn/dsa/problem/the-maze) (Medium)
29. [The Number of Weak Characters in the Game](https://www.internhack.in/learn/dsa/problem/the-number-of-weak-characters-in-the-game) (Medium)
30. [Top K Frequent Elements](https://www.internhack.in/learn/dsa/problem/top-k-frequent-elements) (Medium)
31. [Unique Paths II](https://www.internhack.in/learn/dsa/problem/unique-paths-ii) (Medium)
32. [Bus Routes](https://www.internhack.in/learn/dsa/problem/bus-routes) (Hard)
33. [Count Subarrays With Score Less Than K](https://www.internhack.in/learn/dsa/problem/count-subarrays-with-score-less-than-k) (Hard)
34. [Design Search Autocomplete System](https://www.internhack.in/learn/dsa/problem/design-search-autocomplete-system) (Hard)
35. [Employee Free Time](https://www.internhack.in/learn/dsa/problem/employee-free-time) (Hard)
36. [Expression Add Operators](https://www.internhack.in/learn/dsa/problem/expression-add-operators) (Hard)
37. [Find Median from Data Stream](https://www.internhack.in/learn/dsa/problem/find-median-from-data-stream) (Hard)
38. [Find Median Given Frequency of Numbers](https://www.internhack.in/learn/dsa/problem/find-median-given-frequency-of-numbers) (Hard)
39. [Find Minimum Time to Finish All Jobs](https://www.internhack.in/learn/dsa/problem/find-minimum-time-to-finish-all-jobs) (Hard)
40. [Maximum Profit in Job Scheduling](https://www.internhack.in/learn/dsa/problem/maximum-profit-in-job-scheduling) (Hard)
41. [Meeting Rooms III](https://www.internhack.in/learn/dsa/problem/meeting-rooms-iii) (Hard)
42. [Merge k Sorted Lists](https://www.internhack.in/learn/dsa/problem/merge-k-sorted-lists) (Hard)
43. [Optimal Account Balancing](https://www.internhack.in/learn/dsa/problem/optimal-account-balancing) (Hard)
44. [Reconstruct Itinerary](https://www.internhack.in/learn/dsa/problem/reconstruct-itinerary) (Hard)
45. [Shortest Path in a Grid with Obstacles Elimination](https://www.internhack.in/learn/dsa/problem/shortest-path-in-a-grid-with-obstacles-elimination) (Hard)
46. [Split Array Largest Sum](https://www.internhack.in/learn/dsa/problem/split-array-largest-sum) (Hard)
47. [Text Justification](https://www.internhack.in/learn/dsa/problem/text-justification) (Hard)
48. [Unique Paths III](https://www.internhack.in/learn/dsa/problem/unique-paths-iii) (Hard)

## Prepare for the rest of the Pinterest process

- [Aptitude questions by company](https://www.internhack.in/learn/aptitude/companies)
- [Technical interview questions](https://www.internhack.in/learn/interview)
- [Free ATS resume check](https://www.internhack.in/ats-score/try), no signup

## Other companies

- [Google](https://www.internhack.in/learn/dsa/companies/google) (2217)
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon) (1938)
- [Meta](https://www.internhack.in/learn/dsa/companies/meta) (1387)
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft) (1352)
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg) (1173)
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok) (383)
- [Uber](https://www.internhack.in/learn/dsa/companies/uber) (381)
- [Apple](https://www.internhack.in/learn/dsa/companies/apple) (356)
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle) (340)
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs) (270)
- [Adobe](https://www.internhack.in/learn/dsa/companies/adobe) (227)
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs) (217)
- [Salesforce](https://www.internhack.in/learn/dsa/companies/salesforce) (189)
- [Linkedin](https://www.internhack.in/learn/dsa/companies/linkedin) (180)
- [Zoho](https://www.internhack.in/learn/dsa/companies/zoho) (179)
- [IBM](https://www.internhack.in/learn/dsa/companies/ibm) (170)
- [Infosys](https://www.internhack.in/learn/dsa/companies/infosys) (158)
- [Walmart Labs](https://www.internhack.in/learn/dsa/companies/walmart-labs) (152)
- [Accenture](https://www.internhack.in/learn/dsa/companies/accenture) (144)
- [Nvidia](https://www.internhack.in/learn/dsa/companies/nvidia) (137)
- [Yandex](https://www.internhack.in/learn/dsa/companies/yandex) (134)
- [DE Shaw](https://www.internhack.in/learn/dsa/companies/de-shaw) (124)
- [Visa](https://www.internhack.in/learn/dsa/companies/visa) (124)
- [Flipkart](https://www.internhack.in/learn/dsa/companies/flipkart) (117)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA by company](https://www.internhack.in/learn/dsa/companies)
