competitive Programming class Notes-
14-07-2025 Arrays
** Given an array nums containing n distinct numbers in the range [0,n] return the
only number in the range that is missing from the array?
logic- expected sum = n(n+1)/2
[Link] of Array Except Self .
2. Find Pivot Index
15-07-2025
1. Valid Word
2. find the middle index in the array
3. left and right sum differences
4. best time to buy and sell stock
17-07-2025
1. Find the index of first occurrence in a string
2. Length of the last word
3. Valid Anagram
4. Reverse words of a String
22-07-2025
1. Two Sum
2. Letter combination of Phone number
[Link] Anagrams
4. Isomorphic String
24-07-2025
1. Decode the message
2. Count Largest Group
3. Ransom Note
31-07-2025
1. Divide an Array into Equal pairs
2. Longest Harmonics Sequences
3. Find the Lucky Integer in an array
4. Maximum diff btw even and odd freq
5. Minimum Index of a split