# Palantir Technologies Coding Interview Questions

> 30 DSA problems asked in Palantir Technologies coding interviews and online assessments, sorted easiest first with hints. Free practice for placements on...

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

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

## Palantir Technologies DSA problems, easiest first

1. [Check If It Is a Straight Line](https://www.internhack.in/learn/dsa/problem/check-if-it-is-a-straight-line) (Easy)
2. [Contains Duplicate](https://www.internhack.in/learn/dsa/problem/contains-duplicate) (Easy)
3. [Contains Duplicate II](https://www.internhack.in/learn/dsa/problem/contains-duplicate-ii) (Easy)
4. [Range Sum Query - Immutable](https://www.internhack.in/learn/dsa/problem/range-sum-query-immutable) (Easy)
5. [Single Number](https://www.internhack.in/learn/dsa/problem/single-number) (Easy)
6. [Accounts Merge](https://www.internhack.in/learn/dsa/problem/accounts-merge) (Medium)
7. [Construct Quad Tree](https://www.internhack.in/learn/dsa/problem/construct-quad-tree) (Medium)
8. [Count the Number of Good Subsequences](https://www.internhack.in/learn/dsa/problem/count-the-number-of-good-subsequences) (Medium)
9. [Course Schedule II](https://www.internhack.in/learn/dsa/problem/course-schedule-ii) (Medium)
10. [Daily Temperatures](https://www.internhack.in/learn/dsa/problem/daily-temperatures) (Medium)
11. [Find Beautiful Indices in the Given Array I](https://www.internhack.in/learn/dsa/problem/find-beautiful-indices-in-the-given-array-i) (Medium)
12. [Find Players With Zero or One Losses](https://www.internhack.in/learn/dsa/problem/find-players-with-zero-or-one-losses) (Medium)
13. [Longest Palindromic Substring](https://www.internhack.in/learn/dsa/problem/longest-palindromic-substring) (Medium)
14. [LRU Cache](https://www.internhack.in/learn/dsa/problem/lru-cache) (Medium)
15. [Maximum Length of Repeated Subarray](https://www.internhack.in/learn/dsa/problem/maximum-length-of-repeated-subarray) (Medium)
16. [Maximum Size Subarray Sum Equals k](https://www.internhack.in/learn/dsa/problem/maximum-size-subarray-sum-equals-k) (Medium)
17. [Merge Intervals](https://www.internhack.in/learn/dsa/problem/merge-intervals) (Medium)
18. [Minimum Cost Path with Edge Reversals](https://www.internhack.in/learn/dsa/problem/minimum-cost-path-with-edge-reversals) (Medium)
19. [Minimum Time Difference](https://www.internhack.in/learn/dsa/problem/minimum-time-difference) (Medium)
20. [Number of Divisible Triplet Sums](https://www.internhack.in/learn/dsa/problem/number-of-divisible-triplet-sums) (Medium)
21. [Shortest Word Distance II](https://www.internhack.in/learn/dsa/problem/shortest-word-distance-ii) (Medium)
22. [Shortest Word Distance III](https://www.internhack.in/learn/dsa/problem/shortest-word-distance-iii) (Medium)
23. [Smallest String With Swaps](https://www.internhack.in/learn/dsa/problem/smallest-string-with-swaps) (Medium)
24. [String Compression](https://www.internhack.in/learn/dsa/problem/string-compression) (Medium)
25. [Time Based Key-Value Store](https://www.internhack.in/learn/dsa/problem/time-based-key-value-store) (Medium)
26. [Contains Duplicate III](https://www.internhack.in/learn/dsa/problem/contains-duplicate-iii) (Hard)
27. [Find Beautiful Indices in the Given Array II](https://www.internhack.in/learn/dsa/problem/find-beautiful-indices-in-the-given-array-ii) (Hard)
28. [Integer to English Words](https://www.internhack.in/learn/dsa/problem/integer-to-english-words) (Hard)
29. [Merge k Sorted Lists](https://www.internhack.in/learn/dsa/problem/merge-k-sorted-lists) (Hard)
30. [Selling Pieces of Wood](https://www.internhack.in/learn/dsa/problem/selling-pieces-of-wood) (Hard)

## Prepare for the rest of the Palantir Technologies 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)
