March
Goal
- Sorting
- Array
- Binary Search
- Linked List
- 07 April, 2026 ✔
- 800 Rating: 50
- 900 Rating: 50
Week 1
01 March, 2026
- 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
- Approach was right but consider wrong(
- 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
-
https://leetcode.com/problems/length-of-last-word
- 16 March, 2026: 00.11.09 🔄
-
https://leetcode.com/problems/maximum-number-of-words-found-in-sentences
- 16 March, 2026: 00.02.10 ✔
-
https://leetcode.com/problems/counting-words-with-a-given-prefix
-
16 March, 2026: 00.01.40 ✔
Function Parameters Use 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
-
-
https://leetcode.com/problems/check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
- 16 March, 2026: 00.04.10 ✔
-
https://leetcode.com/problems/count-prefixes-of-a-given-string/description/
- 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.
- 16 March, 2026: 00.01.10 ✔