grindmapcompany-wise LeetCode
All companies

J.P. Morgan LeetCode Questions

79 questions all-time · 27 easy · 47 medium · 5 hard
# Problem Difficulty Frequency Acceptance
1Sort Integers by The Number of 1 Bits
Easy
100
78.7%
2Reaching Points
Hard
97
33.6%
3Least Number of Unique Integers after K Removals
Medium
93
63.4%
4Minimum Suffix Flips
Medium
91
73.5%
5Remove Colored Pieces if Both Neighbors are the Same Color
Medium
89
62.8%
6Break a Palindrome
Medium
86
51.5%
7Minimum Absolute Difference
Easy
83
70.7%
8Next Permutation
Medium
83
43.1%
9Check Whether Two Strings are Almost Equivalent
Easy
83
63.6%
10Group Anagrams
Medium
78
70.9%
11Best Time to Buy and Sell Stock
Easy
76
55.3%
12Determine Color of a Chessboard Square
Easy
74
79.3%
13Minimum Swaps to Make Strings Equal
Medium
74
64.7%
14Numbers With Repeated Digits
Hard
74
43.5%
15Merge Intervals
Medium
72
49.4%
16Suspicious Bank Accounts
Medium
70
44.9%
17Button with Longest Push Time
Easy
70
40.6%
18Display Table of Food Orders in a Restaurant
Medium
70
75.7%
19Check if Number Has Equal Digit Count and Digit Value
Easy
70
72.4%
20Maximum Number of Points From Grid Queries
Hard
70
59.5%
21Valid Parentheses
Easy
70
42.3%
22Lexicographically Smallest String After Applying Operations
Medium
70
65.3%
23Rotate Image
Medium
70
77.9%
24Lexicographically Smallest String After a Swap
Easy
70
53.7%
25Reverse Odd Levels of Binary Tree
Medium
70
86.6%
26Find Resultant Array After Removing Anagrams
Easy
68
59.5%
27Longest Palindromic Substring
Medium
66
35.8%
28Count Numbers with Unique Digits
Medium
63
54.3%
29Happy Number
Easy
60
58.1%
30Longest Substring Without Repeating Characters
Medium
60
36.9%
31Climbing Stairs
Easy
56
53.5%
32Maximum Product of Two Elements in an Array
Easy
56
83.2%
33Minimum Operations to Make All Array Elements Equal
Medium
51
36.9%
34Subarray Sum Equals K
Medium
51
45.5%
35Maximum Units on a Truck
Easy
51
74.3%
36Two Sum
Easy
51
55.8%
37Fizz Buzz
Easy
51
74.4%
38Intersection of Two Arrays
Easy
51
76.5%
39Generate Parentheses
Medium
51
77.1%
40Maximum Subarray
Medium
51
52.1%
41Best Time to Buy and Sell Stock II
Medium
51
69.5%
42Rearrange Array to Maximize Prefix Score
Medium
51
41.5%
43Coin Change
Medium
45
46.5%
44Non-overlapping Intervals
Medium
45
55.5%
45Fibonacci Number
Easy
45
72.9%
46Minimum Cost to Connect Sticks
Medium
45
71.2%
47Pascal's Triangle
Easy
45
77.0%
48Minimum Cost to Make Array Equal
Hard
45
46.3%
49LRU Cache
Medium
45
45.2%
50Daily Temperatures
Medium
45
67.4%
51Binary Tree Right Side View
Medium
45
67.0%
52Reverse Linked List
Easy
45
79.2%
53Two Sum II - Input Array Is Sorted
Medium
36
63.4%
54Set Matrix Zeroes
Medium
36
60.7%
55Find Occurrences of an Element in an Array
Medium
36
72.6%
56Letter Combinations of a Phone Number
Medium
36
63.9%
57Palindrome Number
Easy
36
59.2%
58Kth Largest Element in an Array
Medium
36
68.0%
59Top K Frequent Elements
Medium
36
64.6%
60Average Time of Process per Machine
Easy
36
68.6%
61Container With Most Water
Medium
36
57.8%
62Permutations
Medium
36
80.7%
63Shuffle an Array
Medium
36
59.0%
64Count Binary Substrings
Easy
36
65.9%
65Count Strictly Increasing Subarrays
Medium
36
71.3%
66Open the Lock
Medium
36
60.7%
67Minimum String Length After Removing Substrings
Easy
36
77.1%
68Cherry Pickup
Hard
36
37.9%
69Degree of an Array
Easy
36
57.4%
70Minimum Insertions to Balance a Parentheses String
Medium
36
53.2%
71Search Suggestions System
Medium
36
65.1%
72Find the Duplicate Number
Medium
36
62.8%
73Ugly Number
Easy
36
42.3%
74Contains Duplicate
Easy
36
63.2%
75Sum of Subarray Ranges
Medium
36
60.1%
76Decode Ways
Medium
36
36.5%
77Combination Sum
Medium
36
74.7%
78Integer to Roman
Medium
36
68.6%
79Spiral Matrix
Medium
36
53.9%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.

Similar companies