DAY 21🚀
1679. Max number of k-sum pairs, CF contest (div2)
Starting learning operating systems (since its my course subject) - structure of an operating system, what is a system call?, different types of sys calls, and different types of OS structures.
#leetcode#consistent
DAY 20🚀
3099.(to keep my leetcode streak alive :P) and (2) 800 rating-questions +
Starters147 contest on codechef(rank7k) got a TLE error on the 4th question, gotta learn how to optimize codes asw ig.
#Consistency#leetcode
DAY 18🚀
Solved 42. Trapping Rain water and (A) Cover in water(CodeForces - 800 rating)
Had to think for about 40 minutes for 42. but eventually came up with a partially correct solution, had to check the answer, pretty confident in 2 pointers.
#leetcode#consistency
Day 16
Solved question 11 (container with most water) and 16 (3 sum closest)
Day 17
Solved 2 codeforces (800 rating) problems and gave the div 1 & 2 contest, ngl codeforces is challenging.
#leetcode#consistency
DAY 15
15. 3 Sum
125. Valid Palindrome
The 3 Sum problem was pretty easy 😅 (had to look up the solution, though). ChatGPT gave me an optimized approach: just ignore duplicates and check until the first pointer is greater than 0.
Two pointers are fun! 🎯
#leetcode#consistency
DAY 14
167. 2 Sum Variation
344. Reverse String
977. Squares of Sorted Array
Follow-up: Squaring each element and sorting the new array is trivial. Can you find an O(n) solution with a different approach?
YUP! 👇 Solved all using two pointers 🚀
#leetcode#consistency
🚀 DAY 13 🚀
217. Contains Duplicates
I’ve been exploring unordered_set recently, and while they are quite useful, the syntax can be a bit confusing.
Also, today's CodeChef contest (DIV 4, Question 3) was annoying. I got frustrated and decided to leave it for now.
#coding
🚀DAY 12🚀
771. Jewels And Stones
Unordered maps make problems like these a breeze!
Also, participated in today's Codeforces contest (DIV 4). Did anyone else notice the website acting up?
I couldn't submit my 3rd question!
#leetcode#Consistent
🚀 Day 11 Update 🚀
Solved LeetCode Problem #48: Rotate Image!
🌀 Perfected transposing and column flipping techniques.
Wrapped up @GregHogg5’s "Arrays and Strings" set of 11 problems! 📚
Learning and improving each day! 💪
#Coding#LeetCode#Consistency
Day 6: 🚀
Nailed the first 3 problems in today’s CodeChef contest! 🔥 Almost had the 4th one too. 💪 Consistency is the key! 🗝️
#CodeChef#CodingJourney#ConsistencyWins
Day 5:
392. Is Subsequence
2239. Find Closest Number to Zero
1768. Merge Strings Alternately
Learnt the concept of 2 pointers from the question "Is Subsequence".
Also I will be following https://t.co/NZ6rGZRPBe for a structured path.
#coding#ConsistentEffort#leetcode
Day 3:
Tried Codeforces contest for the first time (div 1+2), could only solve the first question.
Day 4:
Solved a few competitive programming questions on CodeChef (700-1100 rating).
Got to learn a lot from these questions.
#Coding#codechef