Interview Intel · Deloitte

Deloitte coding interview
questions, leaked.

27 problems reported across recent Deloitte interviews. Top patterns: array, database, 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

Deloitte's assessment pulls from 27 problems split almost evenly between easy and medium, with one curveball hard. Arrays dominate at 10 problems, but you're also seeing database queries, strings, and dynamic programming mixed in. The distribution is wide: you could hit Two Sum on one screen and Merge k Sorted Lists on the next. If you're testing soon, you can't memorize your way through this. StealthCoder is the safety net for whatever pattern you haven't drilled yet, working invisibly during the live assessment when your mind goes blank on that database join or two-pointer problem.

Tracked problems
27
Easy
13/ 48%
Medium
13/ 48%
Hard
1/ 4%

Top problems at Deloitte

leaked_problems.csv27 rows
#ProblemDiffFrequency
01Change Null Values in a Table to the Previous ValueMEDIUM
100.0
02Two SumEASY
97.3
03Merge k Sorted ListsHARD
91.0
04Valid ParenthesesEASY
82.5
05Container With Most WaterMEDIUM
76.9
06Second Highest SalaryMEDIUM
76.9
07Longest Palindromic SubstringMEDIUM
76.9
08Palindrome NumberEASY
76.9
09Rising TemperatureEASY
69.7
10Reverse IntegerMEDIUM
69.7
11Climbing StairsEASY
69.7
12Managers with at Least 5 Direct ReportsMEDIUM
69.7
13Merge IntervalsMEDIUM
59.5
14Minimum Time to Repair CarsMEDIUM
59.5
15Pascal's TriangleEASY
59.5
16Majority ElementEASY
59.5
17Best Time to Buy and Sell StockEASY
59.5
18Find Customer RefereeEASY
59.5
19Article Views IEASY
59.5
20Longest Common PrefixEASY
59.5
21Reverse Words in a StringMEDIUM
59.5
22Max Consecutive OnesEASY
59.5
23Kth Largest Element in an ArrayMEDIUM
59.5
24Coin ChangeMEDIUM
59.5
25Edit DistanceMEDIUM
59.5
26Reverse Linked ListEASY
59.5
27Longest Substring Without Repeating CharactersMEDIUM
59.5

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 Deloitte OA. The proctor cannot see it. Screen share cannot detect it. Made by an Amazon engineer who watched the leaked-problem repo become an industry secret. He decided you should have it too.

Get StealthCoder
Topic distribution
What this means

The heavy array focus (10 problems) means your foundation has to be solid on indexing, sliding windows, and prefix logic. But don't sleep on database: 6 problems means you're probably hitting at least one SQL query for salary rankings or temperature comparisons. Strings and dynamic programming are both at 6, and they often overlap (Longest Palindromic Substring). The medium tier is where most of the weight is, so you're not drowning in easy wins. Two-pointers, sorting, and divide-and-conquer are lower frequency, which is good: you can triage harder patterns first. If you blank on a two-pointer optimization mid-assessment, StealthCoder surfaces the approach in seconds without the proctor catching it.

Companies with similar patterns

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

The honest play

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

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 an Amazon engineer who watched the leaked-problem repo become an industry secret. He decided you should have it too. Works on HackerRank, CodeSignal, CoderPad, and Karat.

Deloitte interview FAQ

Should I study database before arrays for Deloitte?+

No. Arrays appear in 10 of 27 problems. Start there: Two Sum, Merge Intervals, Container With Most Water. Once arrays are solid, tackle the 6 database problems. Database is required but lower volume than array patterns.

Is dynamic programming required for this assessment?+

Yes. DP appears in 6 problems and overlaps with strings (Longest Palindromic Substring) and arrays (Pascal's Triangle, Climbing Stairs). It's not optional. Spend time on memoization and bottom-up approaches.

How many easy problems should I solve before attempting medium?+

There are 13 easy problems in the dataset. Solve all of them first. They cover array, string, math, and database basics. They're not filler; they're foundation. The 13 medium problems will feel much faster once you've locked in the easy patterns.

What's the hardest problem I might see, and is it worth drilling?+

Merge k Sorted Lists. It's the single hard problem reported. It hits linked lists, divide-and-conquer, and heaps. Drill it if you have time, but prioritize nailing the 13 medium problems first. One hard problem is usually a tiebreaker.

Do I need to be strong in all topics or can I skip some?+

You can't skip arrays, strings, or database. Those are 22 of 27. Two-pointers, sorting, and greedy are lower frequency and can be secondary. Focus first on array patterns and database queries, then round out with string and DP.

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