Skip to main content

Arrays Medium Problems

Let's start by some basic Medium Arrays problems solve in DSA

1. Next Permutation

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

2. Best time to Buy and Sell Stock II

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

3. Repeat and Missing Number Array

ProblemSolutionVideoTutorial
GFGLeetCodeCooming Soon...CodeMasterMindHQ

4. Kth-Largest Element in an Array

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

5. Trapping Rain Water

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

6. Product of Array Except Self

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

7. Maximum Product Subarray

ProblemSolutionVideoTutorial
LeetCode LeetCodeCooming Soon...CodeMasterMindHQ

8. Find Minimum in Rotated Sorted Array

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

9. Find Pair with Sum in Sorted & Rotated Array

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

10. 3Sum

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

11. Container With Most Water

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

12. Given Sum Pair

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

13. Kth - Smallest Element

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

14. Merge Overlapping Intervals

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

15. Find Minimum Number of Merge Operations to Make an Array Palindrome

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

16. Given an Array of Numbers Arrange the Numbers to Form the Biggest Number

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

17. Space Optimization Using Bit Manipulations

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

18. Set Matrix Zeroes

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

19. Sort Colors (Sort an array of 0’s 1’s 2’s)

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

20. Rotate Image (Rotate Matrix)

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

21. Merge Intervals (Merge Overlapping Subintervals)

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

22. Find the Duplicate Number

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

23. Count Inversions (Inversion of Array (Pre-req: Merge Sort))

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

24. Search a 2D Matrix

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

25. Pow(x, n)

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

26. Majority Element II

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

27. Unique Paths

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

28. 4Sum

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

29. Longest Consecutive Sequence

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

30. Largest subarray with k sum

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

31. Subarray with given XOR

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

32. Longest Substring Without Repeating Characters

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

33. Container With Most Water

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ

34. Search in Rotated Sorted Array

ProblemSolutionVideoTutorial
LeetCodeLeetCodeCooming Soon...CodeMasterMindHQ