ItsRunTym
Arrays/String Sheet
45 DSA questions
Serial
Problem Name Difficulty Link Solution
Number
1 Merge Sorted Array Easy
2 Remove Element Easy
Remove Duplicates
3 Easy
from Sorted Array
Remove Duplicates
4 Medium
from Sorted Array II
5 Majority Element Easy
6 Rotate Array Medium
Best Time to Buy and
7 Easy
Sell Stock
Best Time to Buy and
8 Medium
Sell Stock II
9 Jump Game Medium
10 Jump Game II Medium
11 H-Index Medium
Insert Delete
12 Medium
GetRandom O(1)
Serial
Problem Name Difficulty Link Solution
Number
Product of Array Except
13 Medium
Self
14 Gas Station Medium
15 Candy Hard
16 Trapping Rain Water Hard
17 Roman to Integer Easy
18 Integer to Roman Medium
19 Length of Last Word Easy
20 Longest Common Prefix Easy
Reverse Words in a
21 Medium
String
22 Zigzag Conversion Medium
Find the Index of the
23 First Occurrence in a Easy
String
24 Text Justification Hard
25 Rotate Matrix Medium
Merge Overlapping
26 Medium
Subintervals
Merge two sorted
27 arrays without extra Medium
space
Find the duplicate in an
28 Medium
array of N+1 integers
Serial
Problem Name Difficulty Link Solution
Number
29 Grid Unique Paths Medium
Majority Element (n/3
30 Medium
times)
Two Pointers
Serial
Problem Name Difficulty Link Link
Number
31 Valid Palindrome Easy
32 Is Subsequence Easy
Two Sum II - Input Array
33 Medium
Is Sorted
Container With Most
34 Medium
Water
35 3Sum Medium
36 Move Zeroes Easy
Sliding Window
Serial
Problem Name Difficulty Link Link
Number
Minimum Size Subarray
37 Medium
Sum
Longest Substring Without
38 Medium
Repeating Characters
Substring with
39 Concatenation of All Hard
Words
Serial
Problem Name Difficulty Link Link
Number
Minimum Window
40 Hard
Substring
Matrix
Serial
Problem Name Difficulty Link Link
Number
41 Valid Sudoku Medium
42 Spiral Matrix Medium
43 Rotate Image Medium
Set Matrix
44 Medium
Zeroes
45 Game of Life Medium