๐งฉ
DSA Problem Sheets
Data Structures & Algorithms
๐ 70 Problemsโ Easy 33โ Medium 32โ Hard 5
โ Java๐ Pythonโ๏ธ C++๐ก JavaScript
Showing 20 of 70 problems ยท Easy ยท Array
#
Title
Difficulty
1
Determine If an Array Is Already Sorted
Easy
2
Find a Pair That Sums to a Target in a Sorted Array
Easy
3
Find Largest Element in an Array
Easy
4
Find Second Largest Element in an Array
Easy
5
Find the Missing Number in a Sequence
Easy
6
Merge Two Sorted Arrays Into the First Array In Place
Easy
7
Produce the Sorted List of Squared Values
Easy
8
Remove Repeated Values from a Sorted Array
Easy
9
Replace Each Element with the Maximum Element to Its Right
Easy
10
Reverse an Array
Easy
11
Shift All Zeros to the End of the Array
Easy
26
Longest Run of Consecutive Ones
Easy
33
Cumulative Sum of an Array
Easy
34
Answer a Range Sum Query on an Array
Easy
35
Find the Equilibrium Index of an Array
Easy
42
Maximum Profit From One Buy and One Sell
Easy
43
Check If an Array Contains Any Duplicate
Easy
45
Find the Element Appearing More Than Half the Time
Easy
48
Sum of Both Diagonals of a Square Matrix
Easy
49
Transpose of a Matrix
Easy