Interview Intel · J.P. Morgan

J.P. Morgan coding interview
questions, leaked.

79 problems reported across recent J.P. Morgan interviews. Top patterns: array, string, hash table. 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

J.P. Morgan's coding interviews are array and string heavy. Out of 79 reported problems, 45 focus on arrays and 25 on strings. The difficulty split is brutal: 47 medium problems, 27 easy ones, and 5 hard ones that can tank your entire assessment. Most candidates burn time on the medium tier because they haven't drilled the patterns. If you hit a wall on a greedy or hash-table problem during the live assessment, StealthCoder runs invisibly on screen share and surfaces a working solution in seconds. That's your hedge for whatever pattern didn't stick.

Tracked problems
79
Easy
27/ 34%
Medium
47/ 59%
Hard
5/ 6%

Top problems at J.P. Morgan

leaked_problems.csv50 rows
#ProblemDiffFrequency
01Sort Integers by The Number of 1 BitsEASY
100.0
02Reaching PointsHARD
96.5
03Least Number of Unique Integers after K RemovalsMEDIUM
93.1
04Minimum Suffix FlipsMEDIUM
90.8
05Remove Colored Pieces if Both Neighbors are the Same ColorMEDIUM
89.1
06Break a PalindromeMEDIUM
86.2
07Next PermutationMEDIUM
82.9
08Check Whether Two Strings are Almost EquivalentEASY
82.9
09Minimum Absolute DifferenceEASY
82.9
10Group AnagramsMEDIUM
77.6
11Best Time to Buy and Sell StockEASY
76.0
12Numbers With Repeated DigitsHARD
74.3
13Determine Color of a Chessboard SquareEASY
74.3
14Minimum Swaps to Make Strings EqualMEDIUM
74.3
15Merge IntervalsMEDIUM
72.4
16Rotate ImageMEDIUM
70.4
17Button with Longest Push TimeEASY
70.4
18Valid ParenthesesEASY
70.4
19Display Table of Food Orders in a RestaurantMEDIUM
70.4
20Check if Number Has Equal Digit Count and Digit ValueEASY
70.4
21Suspicious Bank AccountsMEDIUM
70.4
22Lexicographically Smallest String After Applying OperationsMEDIUM
70.4
23Lexicographically Smallest String After a SwapEASY
70.4
24Maximum Number of Points From Grid QueriesHARD
70.4
25Reverse Odd Levels of Binary TreeMEDIUM
70.4
26Find Resultant Array After Removing AnagramsEASY
68.1
27Longest Palindromic SubstringMEDIUM
65.6
28Count Numbers with Unique DigitsMEDIUM
62.8
29Longest Substring Without Repeating CharactersMEDIUM
59.5
30Happy NumberEASY
59.5
31Maximum Product of Two Elements in an ArrayEASY
55.6
32Climbing StairsEASY
55.6
33Rearrange Array to Maximize Prefix ScoreMEDIUM
50.9
34Intersection of Two ArraysEASY
50.9
35Maximum Units on a TruckEASY
50.9
36Minimum Operations to Make All Array Elements EqualMEDIUM
50.9
37Subarray Sum Equals KMEDIUM
50.9
38Fizz BuzzEASY
50.9
39Two SumEASY
50.9
40Maximum SubarrayMEDIUM
50.9
41Generate ParenthesesMEDIUM
50.9
42Best Time to Buy and Sell Stock IIMEDIUM
50.9
43LRU CacheMEDIUM
44.8
44Daily TemperaturesMEDIUM
44.8
45Minimum Cost to Connect SticksMEDIUM
44.8
46Minimum Cost to Make Array EqualHARD
44.8
47Coin ChangeMEDIUM
44.8
48Fibonacci NumberEASY
44.8
49Pascal's TriangleEASY
44.8
50Binary Tree Right Side ViewMEDIUM
44.8

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 J.P. Morgan 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

Array manipulation dominates J.P. Morgan's assessment. Problems like Sort Integers by The Number of 1 Bits, Next Permutation, and Merge Intervals sit right at the median difficulty level, which means they're quick confidence boosters if you've seen them before and confidence killers if you haven't. Strings and hash tables follow close behind, with greedy algorithms weaving through both. The hard problems (Reaching Points, Numbers With Repeated Digits) blend math and dynamic programming in ways that feel unfamiliar under pressure. Sorting and two-pointers appear frequently too, but are simpler to drill. Focus on arrays first, then string-hash-table combos. When you're live and a greedy algorithm problem feels opaque, StealthCoder is the safety net.

Companies with similar patterns

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

The honest play

You've seen the list. Now make sure you pass J.P. Morgan.

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.

J.P. Morgan interview FAQ

Should I prioritize arrays over other topics for J.P. Morgan?+

Yes. Arrays account for 45 of 79 problems. String comes next at 25. If you can confidently solve array problems involving sorting, two-pointers, and dynamic programming, you'll cover most of the assessment. Start there, then move to string-hash-table patterns.

How much time should I spend on hard problems before my interview?+

Hard problems are only 5 of 79 total, but they're high-impact. Reaching Points and Numbers With Repeated Digits both require math reasoning under time pressure. Spend time on one or two, but don't let them dominate your prep. Medium problems are your real battle.

Is greedy a major topic for J.P. Morgan?+

Greedy appears in 14 problems and overlaps heavily with strings and arrays. Problems like Least Number of Unique Integers after K Removals and Break a Palindrome test greedy thinking at medium difficulty. It's not the largest topic, but it's frequent enough that you can't skip it.

What's the ratio of easy to medium problems I'll face?+

J.P. Morgan's dataset is 34% easy, 59% medium, 6% hard. The easy problems are warm-ups. The medium tier is where the assessment is won or lost. Don't assume easy problems buy you time to relax on harder ones.

Do I need to be strong in dynamic programming for this interview?+

Dynamic programming appears in 15 problems, often paired with arrays or math. Best Time to Buy and Sell Stock and Numbers With Repeated Digits are examples. It's useful but not dominant. Master arrays and strings first, then pick up DP patterns if you have time.

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