Skip to main content

March

Goal

  1. Sorting
  2. Array
  3. Binary Search
  4. Linked List
    1. 07 April, 2026 ✔
  5. 800 Rating: 50
  6. 900 Rating: 50

Week 1

01 March, 2026

  1. https://codeforces.com/contest/1617/problem/B
    • Approach was right but consider wrong(i, n-i) case instead (i, n-i-1) as another number is 1, it shouldn't be consider
    • Order of printing matter
    • One should be a prime number, and lowest prime is 2
  2. https://codeforces.com/contest/1462/problem/C
    • Approach was right but didn't consider ease cases
    • Numbers should be dintinct

02 March, 2026

03 March, 2026

04 March, 2026

05 March, 2026

06 March, 2026

07 March, 2026

Week 2

08 March, 2026

09 March, 2026

10 March, 2026

11 March, 2026

12 March, 2026

13 March, 2026

14 March, 2026

Week 3

15 March, 2026

16 March, 2026


  1. https://leetcode.com/problems/length-of-last-word

    1. 16 March, 2026: 00.11.09 🔄
  2. https://leetcode.com/problems/maximum-number-of-words-found-in-sentences

    1. 16 March, 2026: 00.02.10 ✔
  3. https://leetcode.com/problems/counting-words-with-a-given-prefix

    1. 16 March, 2026: 00.01.40 ✔

      FunctionParametersUse
      find()(start_iterator, end_iterator, value)Finds the first occurrence of a value in a range
      find_if()(start_iterator, end_iterator, condition)Finds the first element that satisfies a condition
      find_if_not()(start_iterator, end_iterator, condition)Finds the first element that does NOT satisfy a condition
      string::find()(substring or char, position = 0)Finds first occurrence of substring or character
      string::rfind()(substring or char, position = npos)Finds last occurrence of substring
      find_first_of()(characters, position = 0)Finds first occurrence of any character from given set
      find_last_of()(characters, position = npos)Finds last occurrence of any character from given set
      find_first_not_of()(characters, position = 0)Finds first character not in given set
      find_last_not_of()(characters, position = npos)Finds last character not in given set
      map::find()(key)Finds element with the given key in a map
      set::find()(value)Finds an element in a set
  4. https://leetcode.com/problems/check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence

    1. 16 March, 2026: 00.04.10 ✔
  5. https://leetcode.com/problems/count-prefixes-of-a-given-string/description/

    1. 16 March, 2026: 00.01.10 ✔
      • A prefix of a string is a substring that occurs at the beginning of the string.
      • A substring is a contiguous sequence of characters within a string.

17 March, 2026

18 March, 2026

19 March, 2026

20 March, 2026

21 March, 2026

Week 4

22 March, 2026

23 March, 2026

24 March, 2026

25 March, 2026

26 March, 2026

27 March, 2026

28 March, 2026

Week 5

29 March, 2026

30 March, 2026

31 March, 2026

01 April, 2026

02 April, 2026

03 April, 2026

04 April, 2026