Day 11: 90-Day Coding Challenge 🚀 Continuing the journey by strengthening problem-solving skills and exploring different approaches to array-based problems. Today’s problem was the Jump Game. The goal was to determine whether it’s possible to reach the last index of an array, where each element represents the maximum jump length from that position. Instead of the usual forward traversal, I implemented a backward greedy approach: • Started from the last index as the target • Traversed the array from right to left • Checked if the current index can reach the “target” • If yes, updated the target to the current index • Repeated until reaching the start If the target becomes index 0, it means we can reach the end successfully ✅ This approach efficiently reduces the problem by continuously shrinking the goal position. Time Complexity: O(n) Space Complexity: O(1) Today’s learning highlights: ✅ Explored an alternative greedy strategy (backward traversal) ✅ Learned how to reduce problems by shifting the goalpost ✅ Strengthened understanding of reachability problems ✅ Improved thinking beyond standard forward approaches It was interesting to see how the same problem can be solved from different directions with equal efficiency 💡 Excited to keep learning and improving! #90DaysOfCode #DataStructures #Algorithms #Greedy #CodingJourney #Python #ProblemSolving
90-Day Coding Challenge: Backward Greedy Approach to Jump Game
More Relevant Posts
-
Day 12: 90-Day Coding Challenge 🚀 Continuing the journey of sharpening problem-solving skills, today I focused on array manipulation and optimization techniques. Today’s problem involved finding the minimum jumps to reach the end of an array, where each element represents the maximum steps you can move forward from that position. Instead of using a recursive or DP approach, I implemented a greedy strategy: • Tracked the farthest reachable index at each step • Maintained the current jump range, only incrementing jumps when reaching the end of this range • Iterated through the array efficiently to ensure the minimum number of jumps • By the end, the total jumps represent the optimal path to reach the last index This approach emphasizes thinking ahead and managing ranges, rather than checking every possible path. Time Complexity: O(n) Space Complexity: O(1) Today’s learning highlights: ✅ Explored greedy optimization for minimum jumps ✅ Practiced tracking ranges to reduce unnecessary computations ✅ Strengthened understanding of forward-looking strategies in arrays ✅ Improved problem-solving efficiency and approach flexibility It’s fascinating to see how array-based problems can be tackled in multiple ways while keeping time and space efficient 💡 Excited for Day 13 and more problem-solving challenges! #90DaysOfCode #DataStructures #Algorithms #Greedy #CodingJourney #Python #ProblemSolving #ArrayProblems
To view or add a comment, sign in
-
🚀 Day 78 – Diving Deeper into Randomness & Voice in Python 🎙️✨ Today’s exploration added more exciting tools to my Python journey: 🔹 Random Module (Advanced Functions) – Practiced uniform(), choices(), and sample() to generate floating‑point randomness, weighted selections, and unique subsets. These functions showed how randomness can be fine‑tuned for simulations, games, and creative problem‑solving. 🔹 Text‑to‑Speech with pyttsx3 – Learned how to install and use this library to convert text into voice. It was fascinating to see code literally speak back, opening doors to accessibility features, interactive applications, and fun projects. 🌱 Reflection – Randomness taught me that unpredictability can be controlled with precision, while text‑to‑speech reminded me that code can connect with people in more human ways. Together, they highlight how programming bridges logic and creativity. ✨ Grateful to Rudra Sravan kumar sir and the 10000 Coders team for guiding me through these practical concepts that make coding more engaging and versatile. ⚡ Day 78 was about giving code a voice and mastering randomness with purpose — skills that make applications dynamic, interactive, and impactful. #Day78 #PythonLearning #RandomModule #pyttsx3 #CodingJourney #10000Coders #LearnInPublic #100DaysOfCode
To view or add a comment, sign in
-
Day 14 of my Coding Journey 🚀 Showing up daily is becoming a habit now—and I can clearly see the difference in my thinking and problem-solving 🔥 Each day adds a little more clarity, a little more confidence. 💡 What I worked on today: • Practiced problems on time and work concepts • Strengthened my understanding of nested loops with new pattern challenges in Python • Worked on improving sentence formation and communication skills • Focused on analyzing problems before jumping into solutions ⚡ Today’s focus was on consistency and clarity. Taking time to truly understand each problem helped me avoid mistakes and think more effectively. 🏆 Progress check: I’m getting better at staying disciplined and trusting the process. Small improvements each day are building a strong foundation 🙌 📈 I can notice growth in my logical thinking, coding approach, and the way I express ideas. ✨ Key Takeaway: Consistency builds confidence—and confidence drives progress. #codingchallengeapril2026 #nxtwaveintensive #codingchallenge #python
To view or add a comment, sign in
-
Day 24 of my Coding Journey 🚀 Consistency is slowly turning into confidence—and I can clearly feel my thinking becoming more structured every day 🔥 Each step is strengthening my foundation for bigger goals ahead. 💡 What I worked on today: • Learned about functions in Python • Practiced writing and using functions effectively • Completed exercises to strengthen understanding • Explored how functions improve code reusability and structure ⚡ Today’s focus: Understanding how to break problems into smaller, manageable parts using functions and writing cleaner, more organized code. Focusing on clarity before implementation continues to make a big difference. 🏆 Progress check: I’m improving not just in coding, but also in how I approach problems—with more patience, structure, and confidence 🙌 📈 Noticing steady growth in logical reasoning and problem-solving skills. ✨ Key Takeaway: Strong fundamentals + consistent practice = long-term growth. #codingchallengeapril2026 #nxtwaveintensive #codingchallenge #python
To view or add a comment, sign in
-
Today I learned that not all loops are the same and it actually blew my mind.I'm not going to lie. I thought a loop was just a loop.Turns out, there's a whole world in there. Here's what I uncovered today: 🔹 for loop → when you already know how many times you need to repeat something. Clean, predictable, in control. 🔹 while loop → when you don't know how many times, you just keep going until a condition is met. A little unpredictable just like real life. 🔹 while True → runs forever until YOU decide to stop it. At first it scared me. Then I realized how powerful that actually is. 🔹 Nested loops → a loop inside a loop. Each one exists for a reason. Choosing the right loop isn't just about making code work it's about making it make sense. That's the part nobody tells you when you start coding. It's not just logic. It's judgment. Still a beginner. Still figuring it out. But days like today remind me why I started. #Python #Loops #LearningToCode #CodingJourney #PythonProgramming #GrowthMindset #TechCommunity
To view or add a comment, sign in
-
My new favorite free tool 😎 This new tool is the best. It’s essentially VS code and RStudio wrapped into one, giving you an easy and interactive way to write your Python code and keep track of any variables or objects you’ve already created. For anyone that’s familiar with RStudio and wished Python had an equivalent IDE, this is the best thing ever. It makes you feel WAY more in control of your data. I can realistically say that this IDE is what I’ll use for most of my data driven coding projects in the future. Not a sponsored post, I just love this thing (and it’s free) Follow for more free coding resources ✅ #code #coding #tech #learntocode #datascience
To view or add a comment, sign in
-
🚀 Cracked the Spiral Matrix problem on LeetCode — and here’s the mindset behind it 👇 Most people jump straight into coding this problem. I didn’t. Instead, I approached it like a boundary management problem 🧠 🔍 My thought process: • Treat the matrix like a shrinking box • Maintain 4 pointers: top, bottom, left, right • Traverse layer by layer — not element by element • After each traversal, shrink the boundaries inward This helped me: ✅ Avoid unnecessary conditions ✅ Prevent duplicate traversals ✅ Keep the logic clean and scalable The real learning wasn’t just solving it — it was realizing how visualizing the structure simplifies the code. 💡 Sometimes the difference between confusion and clarity is just how you frame the problem. 🔥 Consistency + clarity > brute force coding #LeetCode #DSA #CodingJourney #ProblemSolving #Python #WomenInTech #TechLearning #SoftwareEngineering #100DaysOfCode #StudentDeveloper #CodingMindset #LearnInPublic
To view or add a comment, sign in
-
-
PSA: I speak fluent Python 🐍 Just wrapped my first coding project at @TripleTen. Analyzed music preferences across two cities🎧. Lest you doubt—this is what streaming services pay the big bucks for. Next up? More data-wrangling for fun and, eventually, profit! #PythonForData #TripleTenSuccess #TripleTen
To view or add a comment, sign in
-
Day 19 of my Coding Journey 🚀 Consistency is slowly turning into confidence—and I can clearly see my thinking becoming more structured every single day 🔥 Each small step is building a stronger foundation for the bigger goals ahead. 💡 What I worked on today: • Learned and practiced string comparisons in Python • Explored how strings are compared using different operators • Strengthened my logical thinking through hands-on examples • Improved my step-by-step approach before jumping into coding ⚡ Today’s focus: Understanding how string comparisons work and why they matter in real-world problem solving. Taking time to truly understand concepts before implementation is making a real difference. 🏆 Progress check: I’m not just improving in coding, but also in how I analyze and approach problems with patience. Consistency is starting to feel natural 🙌 📈 Seeing growth in logical thinking, clarity, and confidence while solving problems. ✨ Key Takeaway: Strong foundations take time—consistency and continuous learning make the journey stronger. #codingchallengeapril2026 #nxtwaveintensive #codingchallenge #python
To view or add a comment, sign in
-
Most people learn coding the wrong way… 👀 They watch tutorials, feel confident… but freeze when asked to build something from scratch. I just came across a simple challenge: 👉 “Build an ATM machine in 10 minutes using OOP” Sounds easy, right? But here’s the twist — You only get one variable: balance And every deposit/withdraw must update the SAME memory. That’s where real understanding kicks in. 💡 This isn’t about syntax… It’s about how you think like a programmer → Managing state → Writing clean logic → Handling real-world scenarios (like insufficient balance) Honestly, this made me realize: Learning = Watching ❌ Learning = Building under pressure ✅ If you're into coding, try this yourself. No shortcuts. No copying. You’ll instantly know where you stand. Link to know, how I Know this? :- https://lnkd.in/gQ3364iP #LearnCoding #PythonLearning #OOPConcepts #BuildInPublic #DeveloperMindset #CodingChallenge #ProgrammingLife #TechLearning #StudentDevelopers #UpskillDaily #StopProcrastinating #NoMoreExcuses #BreakThePattern #DontJustWatch #StopWastingTime #RealityCheck #WakeUpCall
To view or add a comment, sign in
-
Explore related topics
- Approaches to Array Problem Solving for Coding Interviews
- Strategies for Solving Coding Challenges
- Build Problem-Solving Skills With Daily Coding
- Learning Strategies for Coding Success
- LeetCode Array Problem Solving Techniques
- Tips for Overcoming Coding Learning Challenges
- Solving Sorted Array Coding Challenges
- Tips for Mastering Algorithms
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development