Day 4 of #100DaysOfLeetCode
✅ LC 242 – Valid Anagram: learned how to compare letter frequencies using unordered_map
✅ LC 1 – Two Sum: learned how to store & check complements in real-time using hashmap.
#cpp #dsa #leetcode
44
🧵 Day 3 – #100DaysOfLeetCode
🧠 Learned:
• Sliding Window technique
• Handling substrings and duplicate characters smartly
• Hash sets and pointer movement in C++
✅ Solved:
(LC 125) Valid Palindrome
(LC 3) Longest Substring Without Repeating Characters
#LeetCode #DSA
36
🧵 Day 2 – #100DaysOfLeetCode
Focused on building my two-pointer game today.
✅ Solved: (LC 167) Two Sum II – Input Array Is Sorted
🧠 Learned:
• How to solve sorted array problems efficiently
• 1-based indexing, dry runs, and avoiding memory crashes
#LeetCode #cpp #dsa
33
🧵 Day 1 – #100DaysOfLeetCode
Solved:
🔹 (LC 1) Two Sum
🔹 (LC 121) Best Time to Buy & Sell Stock
🔹 (LC 26) Remove Duplicates
🔹 (LC 283) Move Zeroes
Learned:
• Two pointer logic
• Efficient array traversal
• In-place modifications
• Clean C++ loops & conditions
41





