← Back to Jpmorgan

DSA / Coding

78 questions

1Two SumEasy
Solve →
2Longest Substring Without Repeating CharactersMedium
Solve →
3Longest Palindromic SubstringMedium
Solve →
4Valid ParenthesesEasy
Solve →
5Group AnagramsMedium
Solve →
6Merge IntervalsMedium
Solve →
7Climbing StairsEasy
Solve →
8Minimum Cost to Connect SticksMedium
Solve →
9Best Time to Buy and Sell StockEasy
Solve →
10Best Time to Buy and Sell Stock IIMedium
Solve →
11Happy NumberEasy
Solve →
12Reverse Linked ListEasy
Solve →
13Minimum Absolute DifferenceEasy
Solve →
14Coin ChangeMedium
Solve →
15Check if Number Has Equal Digit Count and Digit ValueEasy
Solve →
16Find Resultant Array After Removing AnagramsEasy
Solve →
17Intersection of Two ArraysEasy
Solve →
18Minimum Swaps to Make Strings EqualMedium
Solve →
19Fizz BuzzEasy
Solve →
20Non-overlapping IntervalsMedium
Solve →
21Reverse Odd Levels of Binary TreeMedium
Solve →
22Minimum Cost to Make Array EqualHard
Solve →
23Display Table of Food Orders in a RestaurantMedium
Solve →
24Maximum Number of Points From Grid QueriesHard
Solve →
25Minimum Suffix FlipsMedium
Solve →
26Minimum Operations to Make All Array Elements EqualMedium
Solve →
27Degree of an ArrayEasy
Solve →
28Lexicographically Smallest String After Applying OperationsMedium
Solve →
29Minimum String Length After Removing SubstringsEasy
Solve →
30Reaching PointsHard
Solve →
31Determine Color of a Chessboard SquareEasy
Solve →
32Suspicious Bank AccountsMedium
Solve →
33Numbers With Repeated DigitsHard
Solve →
34Lexicographically Smallest String After a SwapEasy
Solve →
35Button with Longest Push TimeEasy
Solve →
36Maximum Product of Two Elements in an ArrayEasy
Solve →
37Rearrange Array to Maximize Prefix ScoreMedium
Solve →
38Top K Frequent ElementsMedium
Solve →
39Count Binary SubstringsEasy
Solve →
40Rotate ImageMedium
Solve →
41LRU CacheMedium
Solve →
42Two Sum II - Input Array Is SortedMedium
Solve →
43PermutationsMedium
Solve →
44Find Occurrences of an Element in an ArrayMedium
Solve →
45Letter Combinations of a Phone NumberMedium
Solve →
46Set Matrix ZeroesMedium
Solve →
47Container With Most WaterMedium
Solve →
48Shuffle an ArrayMedium
Solve →
49Spiral MatrixMedium
Solve →
50Minimum Moves to Equal Array ElementsMedium
Solve →
51Find Median from Data StreamHard
Solve →
52Meeting Rooms IIMedium
Solve →
53Minimum Number of Steps to Make Two Strings AnagramMedium
Solve →
54Sliding Window MaximumHard
Solve →
55Number of Ways to Split ArrayMedium
Solve →
56Find Peak ElementMedium
Solve →
57Number ComplementEasy
Solve →
58Divide Players Into Teams of Equal SkillMedium
Solve →
59Maximum SubarrayMedium
Solve →
60Find the Winner of an Array GameMedium
Solve →
61Find The First Player to win K Games in a RowMedium
Solve →
62Find Common CharactersEasy
Solve →
63Taking Maximum Energy From the Mystic DungeonMedium
Solve →
64Minimum Time to Type Word Using Special TypewriterEasy
Solve →
65Subarray Sums Divisible by KMedium
Solve →
66Last Stone WeightEasy
Solve →
67Distinct SubsequencesHard
Solve →
68Roman to IntegerEasy
Solve →
69Get Equal Substrings Within BudgetMedium
Solve →
70Sell Diminishing-Valued Colored BallsMedium
Solve →
71First Unique Character in a StringEasy
Solve →
72Two Best Non-Overlapping EventsMedium
Solve →
73Trapping Rain WaterHard
Solve →
74Slowest KeyEasy
Solve →
75Longest Consecutive SequenceMedium
Solve →
76Daily TemperaturesMedium
Solve →
77Construct String With Repeat LimitMedium
Solve →
78Minimum Prefix Removal to Make Array Strictly IncreasingMedium
Solve →