Interview Intel · Directi

Directi coding interview
questions, leaked.

9 problems reported across recent Directi interviews. Top patterns: array, dynamic programming, tree. 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

Directi's coding assessment pulls from a tight, brutal set of nine problems. Five are medium, four are hard, zero gimmes. Arrays dominate the test (six problems), followed by dynamic programming, trees, and graph traversals. You're looking at patterns like tree DP, connected-component logic, and substring optimization under constraints. Most candidates freeze on the hard problems mid-assessment. If you hit a wall on something like Maximum XOR of Two Non-Overlapping Subtrees, StealthCoder runs invisibly during your screen share and surfaces a working solution in seconds, so you don't blow the timer.

Tracked problems
9
Easy
0/ 0%
Medium
5/ 56%
Hard
4/ 44%

Top problems at Directi

leaked_problems.csv9 rows
#ProblemDiffFrequency
01Difference Between Maximum and Minimum Price SumHARD
100.0
02Find Longest Awesome SubstringHARD
100.0
03Min Cost to Connect All PointsMEDIUM
100.0
04Maximum XOR of Two Non-Overlapping SubtreesHARD
100.0
05Minimum Cost to Buy ApplesMEDIUM
100.0
06Largest Submatrix With RearrangementsMEDIUM
100.0
07Find the Winner of an Array GameMEDIUM
100.0
08Number of Sub-arrays With Odd SumMEDIUM
100.0
09Binary Tree Maximum Path SumHARD
62.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 Directi OA. The proctor cannot see it. Screen share cannot detect it. Made by a working Amazon engineer who got tired of watching qualified friends bomb OAs they'd solve cold in an IDE.

Get StealthCoder
Topic distribution
What this means

The assessment is top-heavy on arrays but weaponized with DP and tree/graph overlays. Six of nine problems touch arrays, but not basic array manipulation. You're solving array problems that require heap logic, union-find, or prefix-sum tricks. Three problems demand DFS or graph traversal. Three hit dynamic programming. The hard tier (Difference Between Maximum and Minimum Price Sum, Find Longest Awesome Substring, Maximum XOR of Two Non-Overlapping Subtrees, Binary Tree Maximum Path Sum) tests whether you can combine multiple patterns at once. Drill tree DP and connected-component union-find first. If you blank on a bitwise or trie-based hard problem live, StealthCoder is your hedge. The median candidate gets stuck on the fourth or fifth problem. You won't.

Companies with similar patterns

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

The honest play

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

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. Made by a working Amazon engineer who got tired of watching qualified friends bomb OAs they'd solve cold in an IDE. Works on HackerRank, CodeSignal, CoderPad, and Karat.

Directi interview FAQ

How many array problems should I solve to be ready for Directi?+

Six of nine problems touch arrays. Solve at least 12 to 15 array problems focusing on heap, prefix sum, and greedy variants, not just basic sorting or traversal. Directi's array problems aren't straightforward.

Is dynamic programming critical for this assessment?+

Yes. Three problems are tagged DP, and two hard problems (Difference Between Maximum and Minimum Price Sum, Binary Tree Maximum Path Sum) require DP on trees. Spend at least a week drilling DP recurrence on non-linear structures.

Should I study union-find and MST before the assessment?+

Union-find appears once (Min Cost to Connect All Points) but it's a medium. If graph is weak, drill union-find and Kruskal's algorithm. It's a high-ROI pattern for Directi.

What's the hardest topic combination I'll face?+

Maximum XOR of Two Non-Overlapping Subtrees combines tree traversal, XOR bit logic, and trie structure. This is the spike. If you've never mixed trie with DFS on trees, run through three similar problems before your assessment.

How much time should I spend on tree DP vs general arrays?+

60-40 split favoring arrays initially, then pivot to tree DP in your final week. Four of nine problems require tree or DFS logic. Tree DP is where most candidates drop points.

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