Rehan Sayyed
@TheSimpleCoder_
Software Engineering Aspirant | C++ & DSA Learner | Tech-Driven Mind with a Love for OS & DBMS
- 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]
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 🪴!
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! 💡💻
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! 💡
🖥️ 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
🥇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🪴
🚀 Solved LeetCode 334: Increasing Triplet Subsequence! My Full code & explanation: [rentry.co/lc334] #LeetCode #DSA #Coding #Programming #ProblemSolving #AlgorithmDesign #InterviewPrep #TechSkills
🚀 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
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
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
🔥 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
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
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
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
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. ❤️
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
Best Sightseeing Pair on LeetCode done! 🎉 The real trick was optimizing to a single pass by separating (values[i] + i) and (values[j] - j). My solution: [rentry.co/lc1014] - Check this! #DSA #LeetCode #Algorithms #Coding #100DaysOfCode #ProblemSolving #foryou
Maximum Product Subarray on LeetCode done! 💥 Figuring out those negatives and zeros was the real trick. My solution: [rentry.co/lc152] - Check this; it will really help you! #DSA #LeetCode #Coding #Algorithms #DevCommunity #ProblemSolving #CodeLife
Big win on LC 918: Max Sum Circular Subarray today! 🎉 Learned to apply Kadane's algorithm for circulars (totalSum - minSum). The all-negative case was a good challenge! My solution: [rentry.co/lc918] #Algorithms #ProblemSolving #TechJourney
Tackled LeetCode 53 (Maximum Subarray). Kadane’s Algorithm finally made sense. 👉 Solution: [rentry.co/lc53] How did you first understand Kadane’s? #100DaysOfCode #DSA #Leetcode #foryou
United States Trends
- 1. #FinallyOverIt 4,835 posts
- 2. #TalusLabs N/A
- 3. Summer Walker 15.6K posts
- 4. Justin Fields 9,908 posts
- 5. 5sos 20.9K posts
- 6. #criticalrolespoilers 3,890 posts
- 7. Drake Maye 20.9K posts
- 8. Jets 68.6K posts
- 9. Jalen Johnson 8,266 posts
- 10. Patriots 150K posts
- 11. 1-800 Heartbreak 1,237 posts
- 12. Go Girl 25.4K posts
- 13. Judge 202K posts
- 14. Wale 32.8K posts
- 15. Henderson 22.5K posts
- 16. #BlackOps7 15.8K posts
- 17. #everythingisalot N/A
- 18. AD Mitchell 2,419 posts
- 19. Disc 2 N/A
- 20. Robbed You 3,890 posts
Something went wrong.
Something went wrong.