Rehan Sayyed (@TheSimpleCoder_) header
Rehan Sayyed (@TheSimpleCoder_) profile picture

Software Engineering Aspirant | C++ & DSA Learner | Tech-Driven Mind with a Love for OS & DBMS

Pune, Maharashtra, India
Joined June 2024
Photo by Rehan Sayyed (@TheSimpleCoder_)Photo by Rehan Sayyed (@TheSimpleCoder_)Photo by Rehan Sayyed (@TheSimpleCoder_)Photo by Rehan Sayyed (@TheSimpleCoder_)Photo by Rehan Sayyed (@TheSimpleCoder_)Photo by Rehan Sayyed (@TheSimpleCoder_)Photo by Rehan Sayyed (@TheSimpleCoder_)Photo by Rehan Sayyed (@TheSimpleCoder_)Photo by Rehan Sayyed (@TheSimpleCoder_)Photo by Rehan Sayyed (@TheSimpleCoder_)
LeetCode Integer to Roman Done ✅ - After solving this, I get to know about, that Problem description is the "Key". - I just solve the question only using the values given into the description. PS: Just the dry run. #DSA #Leetcode #CodingInterview #AlgorithmPractice
10
Today i deal with a problem called: "13. Roman to integer", - We know that 'I' = 1, 'V' = 5, 'X' = 10...., we compare this with string chas - Which is good? 1. Store them in a map? 2. Use if-else condition? Eager to know about it!
10
This Problem: [415. Add Strings], Takes you back to your childhood, like how you add the numbers back that days, like first unit's ones, then tens ones + carry so on... - But the twist here is, the numbers are not integers they are "Strings". - A good Problem to solve
12
--Strings Problem Series-- Problem 1: 1859. Sorting the Sentence 🔥 Solution: [patterns-dsa.hashnode.dev/so…] #DSA #Strings #LeetCode
21
- Learned 3-tier architecture in DBMS 📚 - Built a student marks system 🎓 - Got a clearer view of how layers connect 🔗 - Hands-on practice made it click 💡 - Check the guide here 👉 [rb.gy/e5j1of]
31
LeetCode 73. Set Matrix Zeroes 0️⃣ - I solved this using two approaches > Approach 1: Using O(m + n) space ☄️ > Approach 2: Using O(1) space 🌞 You can checkout my solution to learn more about this: [shorturl.at/i8nZa] 💡 - Let's learn and grow 🪴!
1
34
Been at LeetCode 48: Rotate Image since this morning! Finally figured out why the transpose + reverse trick works. 🤔🔄 Curious about Why does it works? Check out my deep dive: [rentry.co/lc48] Let’s solve smarter! 💡💻
2
49
Today I solved LeetCode 54: Spiral Matrix! 😵‍💫 I tried two different ways to solve it and shared my solutions here: (rentry.co/lc54) 👈 If you want to learn together or have other ideas, feel free to share! Let’s keep growing and helping each other! 💡
2
34
🖥️ Today I learned about the system() call in OS! It lets you run shell commands from your C/C++ code. Super handy for scripting! I broke it down with code & output 👇 #Windows #Linux #Programming #CPP #OS #Coding
41
🥇I solved LeetCode 41, First Missing Positive I solved this with two approaches: Approach 1️⃣: O(n) space Approach 2️⃣: O(1) space 📛My solution: [rentry.co/lc41] <- Refer it, and if it's helpful for you, please like the post Let's learn and grow together🪴
26
🚀 Solved LeetCode 334: Increasing Triplet Subsequence! My Full code & explanation: [rentry.co/lc334] #LeetCode #DSA #Coding #Programming #ProblemSolving #AlgorithmDesign #InterviewPrep #TechSkills
1
20
🚀 Solved LeetCode 2348: Number of Zero-Filled Subarrays! Brute force checks every subarray - slow. 🐢 Optimized: one pass, count consecutive zeros, add to total. ⚡ Full code & explanation: [rentry.co/lc2348] #LeetCode #DSA #Coding #Programming #ProblemSolving
1
16
SOLVED "122. Best Time to Buy and Sell Stock II" Today! 📈 The key factor here is the greedy approach: summing all positive price differences for maximum profit. My solution: [rentry.co/lc122] 💡 Let's learn and grow together! 🌱 #DSA #LeetCode #SoftwareEngineering
1
16
SOLVED "238. Product of Array Except Self" Today! ✖️ Brute-Force: O(N^2) Time ⏳ Optimized: O(N) Time with O(1) Space ✅ My solution: [rentry.co/lc238] 💡 Let's learn and grow together! 🌱 #DSA #LeetCode #100DaysOfCode #algorithms
1
16
🔥 Got my first LeetCode badge ever - 50 active days! 📆 Showed up daily, even on the tough days. 🙌 Feels great to see the progress. 💻 Going to keep learning and growing! #LeetCode #CodingJourney #Consistency #Milestone #KeepGoing #PracticeDaily
2
23
SOLVED `189. Rotate Array` Today! 🔄 Brute-Force: O(N⋅K) Time, TLE ⏳ Optimized: O(N) Time, O(1) Space ✅ Key: In-place rotation using the three-step reverse method. 💡My solution: [rentry.co/lc189] Learn & grow!🌱 #DSA #LeetCode
1
16
SOLVED `121. Best Time to Buy and Sell Stock` Today! 📈 Brute-Force: TLE⏳ Optimized: Works ✅ Key: Optimized to single pass, tracking min buy price💡My solution: [rentry.co/lc121] Learn & grow! #DSA #LeetCode
1
17
SOLVED🥇 "26. Remove Duplicates from Sorted Array" Today. - Brute-Force: Use a space of O(n) 💡 - Optimized: Use a space of O(1) ✌️ The key factor here is we have to modify the array in place. My solution: [rentry.co/lc26] Let's learn and grow together.📈 #DSA #LeetCode
1
15
Have you ever heard about the Boyer-Moore Voting Algorithm💡? Today I solved `169. Majority Element` on LeetCode 🧑‍💻 - Brute-Force: Used Nested Loops ✌️ - Better: Used a HashMap #️⃣ - Optimized: Moore's Algorithm 💪 Solution: [rentry.co/lc169] Learn and grow together. ❤️
2
47
Move Zeroes on LeetCode done! 😎 I used the two-pointer strategy for efficiently moving non-zeros in front. So clean! My solution: [rentry.co/lc283] <- Check it out! #DSA #LeetCode #Arrays #TwoPointers #Coding #ProblemSolving #DailyCode #foryou
1
22