Interview Intel · Palantir Technologies

Palantir Technologies coding interview
questions, leaked.

29 problems reported across recent Palantir Technologies interviews. Top patterns: array, hash table, string. The list below is what most reported candidates actually saw, plus the honest play if you can't grind all of it.

Founder's read

Palantir's coding assessment hits you with 29 problems across a medium-heavy distribution: 16 medium, 6 hard, 7 easy. Arrays dominate the signal here, 21 of the 29 problems lean on them, so if you can't manipulate arrays fast, you're behind before you start. Hash tables, strings, and sorting back up the core pattern. You've got maybe a week to drill the top tier. If you blank mid-OA on a hash-table or two-pointer problem, StealthCoder runs invisible during screen share and surfaces a working solution in seconds. That's your hedge.

Tracked problems
29
Easy
7/ 24%
Medium
16/ 55%
Hard
6/ 21%

Top problems at Palantir Technologies

leaked_problems.csv29 rows
#ProblemDiffFrequency
01Find Beautiful Indices in the Given Array IMEDIUM
100.0
02Find Beautiful Indices in the Given Array IIHARD
92.0
03Integer to English WordsHARD
82.4
04Minimum Time DifferenceMEDIUM
82.4
05LRU CacheMEDIUM
80.6
06Range Sum Query - ImmutableEASY
80.6
07Contains Duplicate IIEASY
80.6
08Contains Duplicate IIIHARD
78.7
09Contains DuplicateEASY
78.7
10Check If It Is a Straight LineEASY
78.7
11Single NumberEASY
78.7
12Maximum Size Subarray Sum Equals kMEDIUM
78.7
13Selling Pieces of WoodHARD
78.7
14Merge k Sorted ListsHARD
68.1
15Merge IntervalsMEDIUM
64.3
16Shortest Word Distance IIIMEDIUM
64.3
17Construct Quad TreeMEDIUM
59.7
18Count the Number of Good SubsequencesMEDIUM
53.7
19Minimum Equal Sum of Two Arrays After Replacing ZerosMEDIUM
53.7
20Find Players With Zero or One LossesMEDIUM
53.7
21Accounts MergeMEDIUM
45.4
22Number of Divisible Triplet SumsMEDIUM
45.4
23Trapping Rain Water IIHARD
45.4
24All Ancestors of a Node in a Directed Acyclic GraphMEDIUM
45.4
25Flood FillEASY
45.4
26Number of IslandsMEDIUM
45.4
27Best Time to Buy and Sell StockEASY
45.4
28Sort ListMEDIUM
45.4
29Daily TemperaturesMEDIUM
45.4

Frequencies derived from public community-tagged interview reports. Click a row to view on LeetCode.

The hedge

You have a week, maybe less. You can't out-grind the list above. StealthCoder runs invisibly during the actual Palantir Technologies OA. The proctor cannot see it. Screen share cannot detect it. Built because the OA filter rejects engineers who'd pass the on-site. That's a broken filter. This is the workaround.

Get StealthCoder
Topic distribution
What this means

Arrays are the primary gating skill at Palantir, appearing in roughly 72 percent of the problem set. Prefix sums, sliding windows, and duplicate detection are all array-flavored. Hash tables (8 problems) pair closely with arrays for constraint handling and caching patterns like LRU Cache. Sorting (7 problems) shows up in merge intervals and minimum time difference. Strings (7 problems) layer in with arrays via two-pointer and rolling hash techniques. The hard tier pulls in math, dynamic programming, and divide-and-conquer, so don't sleep on those if you're targeting senior levels. Medium problems are your core grind. Drill array manipulation and hash-table collision patterns first, then lean into sorting and two-pointer logic. StealthCoder is your real-time backup when a pattern you haven't touched hits the screen during the live assessment.

Companies with similar patterns

If you prepped for Palantir Technologies, these companies recycle ~60% of the same topics.

The honest play

You've seen the list. Now make sure you pass Palantir Technologies.

Memorizing every problem above in a week is a fantasy. StealthCoder is the hedge: an AI overlay that's invisible during screen share. It reads the problem on screen and surfaces a working solution in under 2 seconds. Built because the OA filter rejects engineers who'd pass the on-site. That's a broken filter. This is the workaround. Works on HackerRank, CodeSignal, CoderPad, and Karat.

Palantir Technologies interview FAQ

How many array problems should I solve before the Palantir OA?+

Arrays appear in 21 of 29 problems here, so this is your primary focus. Drill at least one problem each on prefix sums, sliding windows, duplicate detection, and subarray sum patterns. That covers most of what Palantir throws at you. Then shift to hash tables and sorting.

Is the medium difficulty really that heavy?+

Yes. 16 of 29 problems are medium, and problems like LRU Cache and Maximum Size Subarray Sum Equals k require both pattern recognition and design thinking under time pressure. Don't skip medium problems expecting to cruise on easy ones.

Should I study hard problems first or last?+

Last. Only 6 hard problems appear in the full set. Nail the 16 medium problems first, especially array and hash-table patterns. Hard problems like Merge k Sorted Lists pull in divide-and-conquer and heap logic, but they're not the time sink.

What two-pointer problems does Palantir actually ask?+

Find Beautiful Indices appears twice (medium and hard) and relies on two pointers plus rolling hash. That's your signal problem here. Contains Duplicate II also uses sliding window, which is two-pointer adjacent. Drill those two patterns specifically.

Do I need to know bit manipulation for this assessment?+

Single Number uses bit manipulation, but it's one of seven easy problems. It's low priority compared to arrays and hash tables. Learn XOR trick as a bonus once you're solid on the core patterns.

Problem frequencies sourced from public community-maintained interview-report repos. Problems, ratings, and trademarks are property of LeetCode and Palantir Technologies. StealthCoder is not affiliated with Palantir Technologies.