Loading...
Development

ARRAYS & STRINGS – PROBLEM LIST

Here is a curated, leveled problem list for MODULE 1: ARRAYS & STRINGS
Designed for progressive learningBeginner → Intermediate → Advanced
Includes LeetCode (LC), GeeksforGeeks (GFG), Codeforces (CF), and InterviewBit (IB) links.


MODULE 1: ARRAYS & STRINGS – PROBLEM LIST

#Problem NamePlatformDifficultyKey TechniqueLink
1Two SumLCEasyHash MapLC 1
2Best Time to Buy and Sell StockLCEasyOne-pass (min so far)LC 121
3Contains DuplicateLCEasySet / SortingLC 217
4Move ZeroesLCEasyTwo Pointers (in-place)LC 283
5Rotate ArrayLCEasyReverse trick / JugglingLC 189
6Maximum Subarray (Kadane)LCMediumDP (optimized)LC 53
7Merge Sorted ArrayLCEasyTwo pointers from endLC 88
8Remove Duplicates from Sorted ArrayLCEasyTwo pointersLC 26
9Trapping Rain WaterLCHardTwo pointers / PrecomputeLC 42
103SumLCMediumSort + Two PointersLC 15
11Container With Most WaterLCMediumTwo pointers (greedy)LC 11
12Longest Substring Without Repeating CharactersLCMediumSliding Window + Set/MapLC 3
13Longest Palindromic SubstringLCMediumExpand around center / DPLC 5
14Merge IntervalsLCMediumSort + MergeLC 56
15Sort Colors (0,1,2)LCMediumDutch National Flag (3 pointers)LC 75
16Subarray Sum Equals KLCMediumPrefix Sum + Hash MapLC 560
17Minimum Size Subarray SumLCMediumSliding WindowLC 209
18Product of Array Except SelfLCMediumPrefix & Suffix ProductLC 238
19Find the Duplicate NumberLCMediumFloyd’s Cycle / Binary SearchLC 287
20Spiral MatrixLCMediumLayer-by-layer simulationLC 54

BONUS: STRING-SPECIFIC PROBLEMS

#ProblemPlatformTechniqueLink
B1Valid AnagramLCHash Map / SortingLC 242
B2Longest Common PrefixLCVertical scan / TrieLC 14
B3Implement strStr() (KMP)LCKMP / SlidingLC 28
B4Ransom NoteLCHash MapLC 383
B5Group AnagramsLCHash Map with sorted keyLC 49

PRACTICE PLAN (4 Weeks)

WeekFocusProblems
1Basics + Two Pointers1–8
2Sliding Window + Prefix9–13, 16–17
3Advanced Two Pointers10, 11, 14, 15, 18
4Hard + Strings19, 20, B1–B5

TIPS

  • Solve in order → build intuition.
  • Re-solve without hints after 3 days.
  • Time yourself: Easy < 10 min, Medium < 20 min.
  • Write clean code → use meaningful variable names.
  • Dry run on small test cases.

Want this as a printable PDF or Notion table?
Or need solutions + explanations for any problem? Just ask!