Day 10/100 🫡
Binary search on rotated sorted arrays: done. ✅
Moved on to pointers today.
10 days in, and the DSA rabbit hole is getting deeper. 💀
#100DaysOfCode#DSA#CPP
Day 9/100 🫡
Solved 3 more binary search problems today.
Starting to get more comfortable with spotting when binary search can be applied instead of just thinking “array = linear search.” 💀
#100DaysOfCode#DSA#CPP
Day 7/100 🫡
Learned the basics of 3 sorting algorithms today: selection sort, bubble sort and insertion sort.
Also, college just started Python, so I'll have to balance that alongside DSA.
Thankfully, I've already done Python up to OOP before, so it shouldn't be too painful🥲
Day 8/100 🫡
Pretty unproductive day today.
Learned the basics of character arrays & strings and revised some Python OOP I hadn't touched in a while.
Had a movie night at college, so that's pretty much all I got done today. 🎬
Back at it tomorrow.
#100DaysOfCode#DSA#CPP
Day 6/100 🫡
Today I learned about a pretty neat DSA pattern: XOR.
It can be really useful in problems involving duplicates or unique elements.
Solved a couple of problems using it today, and honestly, '^' is starting to look a lot less mysterious.
#100DaysOfCode#DSA#CPP
Day 5/100 🫡
The fact that the second part of the problem could be solved with a simple "return i;" was fascinating.
Realized that in binary search, 'i' keeps moving toward the answer as the search space shrinks.
Solved 2 more binary search problems today.
#100DaysOfCode#DSA
Day 4/100 🫡
Studied binary search today.
Also spent 2 hours on an “Easy” LeetCode array problem and still couldn't solve it 😭
Looked at the solution. Felt dumb. 🥲
Anyway, we learn and move on.
#100DaysOfCode#DSA#CPP
Day 3/100 🫡
Got into the C++ STL today.
Learned about containers like vector, array, deque, list, stack etc.
Still a lot to learn, but slowly getting more comfortable with C++.
#100DaysOfCode#DSA#CPP
Day 2/100 🫡
Solved my first 2 LeetCode problems today!
Both were array problems, and honestly, figuring out the solution myself feels very different from just understanding a concept.
2 down. Now onto the next ones. 💀
#100DaysOfCode#DSA#CPP#LeetCode
Day 1/100 🫡
Started my DSA journey with C++ today.
Learned about Big O, time complexity and space complexity.
It's funny how “this code runs” and “this code runs efficiently” are two VERY different statements 💀
On to Day 2.
Starting my DSA journey with C++ today.
I'll be documenting what I learn, the problems I solve, and the things that completely break my brain along the way :D
Today is Day 1. See you all the way till Day 100 and beyond! 🚀
#100DaysOfCode#BuildInPublic#CPP#Coding