🚨 Today wasn’t about solving problems… it was about fixing what was broken. Day 37 of my Backend Developer Journey — and honestly, 👉 this felt more like a real developer day 🧠 LeetCode Breakthrough Solved today’s Daily Challenge using Median + Math Optimization 💡 What clicked: → Flatten the grid into a single array → Check if all elements follow same modulo → Use median to minimize operations ⚡ The Real Trick 👉 If modulo condition fails → impossible ❌ 👉 If valid → median gives minimum operations ✅ 🔍 Key Insight 👉 Median minimizes absolute differences 👉 Math-based optimization beats brute force 🔗 My Submission: https://lnkd.in/gf43YBkq ☕ Spring Boot Learning 🐛 Debugging Day (Real Dev Life) Today was not smooth… and that’s okay 👇 👉 Faced issues with Lombok + Java 24 👉 Switched back to Java 21 👉 Bugs reduced, but still debugging ⚡ What I learned 👉 New versions ≠ always stable 👉 Compatibility matters more than hype 👉 Debugging is a core developer skill 🔌 Database Progress 👉 Successfully connected PostgreSQL to my server 👉 Backend is now interacting with real data 🧠 The Shift 👉 Not every day is productive — but every day teaches 👉 Debugging builds deeper understanding than coding 👉 Real growth happens when things don’t work 🔗 GitHub Repo (Lovable Clone): https://lnkd.in/gwHmAZaK 📈 Day 37 Progress: ✅ Learned median optimization technique ✅ Handled real-world debugging issues ✅ Connected DB to backend successfully 💬 What’s one bug that taught you more than any tutorial? 👇 #100DaysOfCode #BackendDevelopment #SpringBoot #Java #LeetCode #Debugging #CodingJourney
Backend Developer Journey Day 37: LeetCode Breakthrough and Debugging
More Relevant Posts
-
🚨 This problem didn’t ask for optimization… but understanding possibilities. Day 33 of my Backend Developer Journey — and today was about 👉 maximizing outcome with flexible inputs 🧠 LeetCode Breakthrough Solved today’s Daily Challenge using greedy thinking 💡 What clicked: → Treat _ as flexible moves → Calculate current position → Use _ to maximize distance ⚡ The real trick: 👉 Don’t fix unknowns… 👉 use them to your advantage 🔍 Key Insight 👉 Known moves → fixed contribution 👉 Unknown moves → maximize result ⚡ Final answer = |current position| + number of flexible moves 🔗 My Submission:https://lnkd.in/ghdgkZVV ☕ Spring Boot Learning 🔄 Orphan Removal vs Cascade Delete Today I explored a subtle but powerful concept 👇 👉 Cascade Delete → Deletes child when parent is deleted 👉 Orphan Removal → Deletes child when it is removed from relationship ⚡ Key Difference 💡 Cascade = Parent-based deletion 💡 Orphan = Relationship-based deletion 🚨 N+1 Query Problem One of the most important backend performance issues 👇 👉 Fetch 1 parent → triggers N extra queries for children ⚡ Problem: 👉 Multiple unnecessary DB calls 🔥 Solution 👉 Use fetch join 👉 Use @EntityGraph 👉 Prefer JOIN FETCH in queries 🧠 The Shift 👉 Problems are not always about solving… but maximizing 👉 Backend performance matters as much as correctness 👉 Small concepts → huge real-world impact 📘 Spring Boot Notes: https://lnkd.in/gRgxP7Th 🔗 GitHub Repo (Project):https://lnkd.in/gWb8ZPdv 📈 Day 33 Progress: ✅ Learned greedy thinking approach ✅ Understood orphan removal vs cascade ✅ Discovered N+1 query problem 💬 Have you ever faced N+1 issues in your project? 👇 #100DaysOfCode #BackendDevelopment #SpringBoot #Java #LeetCode #SystemDesign #CodingJourney
To view or add a comment, sign in
-
-
🚀 Day 10 of my Spring Boot & Java Journey: Diving Deep into Streams & a Surprising Discovery! As I build more with Spring Boot, I realized that writing clean, declarative code is just as important as the framework itself. Today, I took a deep dive into Java 8 Streams to level up my data manipulation skills. Here is what I mastered today: 🔹 filter() – Extracting exactly what I need based on conditions. 🔹 map() – Transforming data structures effortlessly. 🔹 sorted() – Keeping things in perfect order. 🔹 distinct() – Eliminating duplicates like a pro. 🔹 Terminal Operations – Went under the hood of forEach() and Collectors to see how the stream pipeline actually executes and gathers results. 🤯 But here is the coolest thing I discovered today: Did you know you can run a Stream (or any code) directly from an Interface? Since Java 8 introduced static methods in interfaces, you can actually declare a public static void main method right inside an interface and execute it perfectly! 📸 Check out the code snippet in the image below to see this interface magic in action! 👇 Every day of this learning challenge is opening up new ways to write elegant code. 💬 Question for my network: What is your most used or favorite Stream API method when building applications? Let’s discuss in the comments! 👇 #Java8 #SpringBoot #JavaDeveloper #CodingJourney #LearningEveryday #SoftwareEngineering #TechCommunity #ChaitranshMahajan
To view or add a comment, sign in
-
-
🚀 𝗗𝗮𝘆 𝟯: 𝗜𝗻𝘃𝗲𝗿𝘀𝗶𝗼𝗻 𝗼𝗳 𝗖𝗼𝗻𝘁𝗿𝗼𝗹 (𝗜𝗼𝗖) – 𝗦𝗶𝗺𝗽𝗹𝗶𝗳𝗶𝗲𝗱 𝗳𝗼𝗿 𝗕𝗲𝗴𝗶𝗻𝗻𝗲𝗿𝘀 If you’ve heard people say “Spring manages everything for you” 🤔 This is the concept behind it 👇 🧠 𝗪𝗵𝗮𝘁 𝗶𝘀 𝗜𝗼𝗖 (𝗜𝗻𝘃𝗲𝗿𝘀𝗶𝗼𝗻 𝗼𝗳 𝗖𝗼𝗻𝘁𝗿𝗼𝗹)? In simple terms, IoC means giving control to Spring instead of handling everything yourself 👉 𝗡𝗼𝗿𝗺𝗮𝗹𝗹𝘆 𝗶𝗻 𝗝𝗮𝘃𝗮: You create and manage objects manually ❌ 👉 𝗪𝗶𝘁𝗵 𝗦𝗽𝗿𝗶𝗻𝗴 𝗙𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸: Spring creates and manages objects for you ✅ 🔄 𝗪𝗵𝗮𝘁 𝗮𝗰𝘁𝘂𝗮𝗹𝗹𝘆 𝗰𝗵𝗮𝗻𝗴𝗲𝘀? 𝗕𝗲𝗳𝗼𝗿𝗲 𝗜𝗼𝗖: You control object creation You decide dependencies High coupling 𝗔𝗳𝘁𝗲𝗿 𝗜𝗼𝗖: Spring controls object creation Dependencies are managed automatically Loose coupling 💡 Real-Life Analogy: Think of IoC like a Cab Booking App 🚗 ❌ 𝗪𝗶𝘁𝗵𝗼𝘂𝘁 𝗜𝗼𝗖: You drive your own car everywhere ✅ 𝗪𝗶𝘁𝗵 𝗜𝗼𝗖: You just book a ride → Driver comes to you 👉 You don’t manage the driving 👉 The system handles it ⚙️ Who manages everything? 👉 The Spring Container 𝗜𝘁 𝗶𝘀 𝗿𝗲𝘀𝗽𝗼𝗻𝘀𝗶𝗯𝗹𝗲 𝗳𝗼𝗿: ✔️ 𝗖𝗿𝗲𝗮𝘁𝗶𝗻𝗴 𝗼𝗯𝗷𝗲𝗰𝘁𝘀 (𝗕𝗲𝗮𝗻𝘀) ✔️ 𝗜𝗻𝗷𝗲𝗰𝘁𝗶𝗻𝗴 𝗱𝗲𝗽𝗲𝗻𝗱𝗲𝗻𝗰𝗶𝗲𝘀 ✔️ 𝗠𝗮𝗻𝗮𝗴𝗶𝗻𝗴 𝗹𝗶𝗳𝗲𝗰𝘆𝗰𝗹𝗲 📌 Why IoC is important? ✔️ Makes code loosely coupled ✔️ Easier to test & maintain ✔️ Improves scalability 🔥 Quick Insight: 𝗜𝗼𝗖 𝗶𝘀 𝘁𝗵𝗲 𝗳𝗼𝘂𝗻𝗱𝗮𝘁𝗶𝗼𝗻 𝗼𝗳 𝗦𝗽𝗿𝗶𝗻𝗴 𝗪𝗶𝘁𝗵𝗼𝘂𝘁 𝗶𝘁 → 𝗦𝗽𝗿𝗶𝗻𝗴 𝗱𝗼𝗲𝘀𝗻’𝘁 𝗺𝗮𝗸𝗲 𝘀𝗲𝗻𝘀𝗲 🔥 This is Day 3 of my 30 Days Spring Framework Series Tomorrow: Dependency Injection (DI) – Deep Dive 💉 👉 Follow Bhuvnesh Yadav for daily Java & Spring content 🔁 Repost to help others learn and grow Day 2 post:https://lnkd.in/gwAjCpqj #Java #SpringFramework #SpringBoot #BackendDevelopment #Programming #LearnToCode
To view or add a comment, sign in
-
-
I kept saying context is the problem. At some point I had to actually do something about it. Every time I pointed an agent at a legacy repo, it started guessing. Wrong file paths. Wrong build commands. Invented APIs. Same pattern. Different repo. Different team. So I built AgentReady. One command. It scans your repo and generates the context files your agents actually need. CLAUDE.md. AGENTS.md. agent-context.json. MCP config. LLM-powered analysis. Doesn't touch your existing codebase. The first time I ran it on a real legacy Java repo, the hallucinations just… stopped. Same model. Same prompt. Structured context. That was the only real difference. If you’re using Claude Code, Copilot or Cursor on existing codebases, this might be worth trying. https://lnkd.in/dRvKBpEF #AIEngineering #AgenticAI #BuildInPublic #DeveloperTools
To view or add a comment, sign in
-
🚨 This problem looked too simple… and that’s exactly why it was tricky. Day 27 of my Backend Developer Journey — and today reminded me: 👉 Simple problems test clarity, not complexity. 🧠 LeetCode Insight Solved today’s Daily Challenge 💡 What clicked: → Reverse the number → Compute absolute difference → Keep logic minimal ⚡ The takeaway: 👉 No extra data structures 👉 No overthinking 👉 Just clean execution 🔍 Key Insight 👉 Sometimes the problem is already optimal 👉 Your job is to not ruin it with over-engineering 🔗 My Submission:https://lnkd.in/gSP92U_8 ☕ Spring Boot Learning 🔗 JPA Relationships (Game Changer for Backend Design) Today I explored how entities connect with each other in real-world systems 👇 👉 @OneToOne – One entity ↔ One entity 👉 @OneToMany – One → Multiple 👉 @ManyToOne – Multiple → One 👉 @ManyToMany – Many ↔ Many ⚡ Why this matters 💡 Backend is not just APIs… It’s about how data is connected internally 👉 Proper relationships = cleaner DB design 👉 Better performance & maintainability 🧠 The Shift 👉 Not every day is about hard problems 👉 Some days are about discipline & clarity 👉 Strong fundamentals = long-term consistency 📘 Spring Boot Notes: https://lnkd.in/gpWQvkyK 📈 Day 27 Progress: ✅ Improved clarity in problem-solving ✅ Learned core DB relationship mapping ✅ Strengthened backend fundamentals 💬 Do you also overthink simple problems sometimes? 😄 #100DaysOfCode #BackendDevelopment #SpringBoot #Java #LeetCode #CodingJourney
To view or add a comment, sign in
-
-
Weekend learning mode: ON. 🎧💻 I’ve spent the last two days heavily focused on advancing my backend architecture skills with Java. Moving into enterprise development means understanding the tools, but also mastering the web fundamentals that hold it all together. Here’s what I’ve been tackling: 🌐 Web Basics: Solidifying the foundations—HTTP/HTTPS lifecycle, REST API design principles, and configuring CORS securely. ⚙️ Spring Core: Getting hands-on with Dependency Injection (IoC) and understanding how the container handles Bean scopes and lifecycles. 🛡️ Spring AOP: Learning how to cleanly modularize cross-cutting concerns (like logging and security) without cluttering up the core business logic. Transitioning to Java has been challenging, but realizing how powerful these frameworks are for building scalable systems makes it completely worth it. What is one topic you think every backend developer needs to master early on? Let me know! #Java #Backend #API #SpringFramework #DeveloperJourney #LearnInPublic
To view or add a comment, sign in
-
Yesterday: “It’s working perfectly 😌” Today: Application failed to start. Same code. Same logic. Different story. Welcome to Spring Boot reality 👇 → One missing bean = full system collapse → One wrong config = hours gone → One hidden null = chaos unleashed → One DB hiccup = everything breaks And suddenly… you’re not coding anymore, you’re investigating. Logs become clues. Stack traces become stories. Debugging isn’t pain — it’s where real backend thinking begins. Because great developers don’t fear crashes… they understand them. ⚡ #SpringBoot #Java #BackendDevelopment #Debugging #BuildInPublic
To view or add a comment, sign in
-
-
🚀 Golang Compilation Flow — Simple & Powerful Ever wondered what happens when you run a Go program? Here’s a clean breakdown 👇 📝 1. Source Code You write `.go` files 🔍 2. Lexical Analysis Code is broken into tokens (keywords, variables) 🧠 3. Parsing Syntax is checked and converted into AST ✅ 4. Type Checking Ensures correct data types and function usage 🔗 5. Dependency Resolution Imports resolved via `go.mod` ⚙️ 6. Compilation Code is converted directly into machine code 🔧 7. Linking All dependencies combined 📦 8. Final Output A single executable binary is created --- 💡 Why Golang Compilation is Powerful: ✔️ Super fast build time ✔️ No JVM / runtime needed ✔️ Single binary deployment ✔️ Easy cross-compilation --- 🔁 Flow Summary: .go → Tokens → AST → Type Check → Compile → Link → Binary --- 🎯 Key Takeaway: Go produces a **standalone executable**, making deployment simple and efficient. --- #Golang #GoLang #BackendDeveloper #SoftwareEngineering #Microservices #SystemDesign #DevOps #Programming #TechExplained #LearningInPublic .. .. ..
To view or add a comment, sign in
-
🚀 I Built a Complete Django REST API Course (0 → Advanced) Most tutorials teach theory. But I wanted to build something that actually makes you job-ready. So I created a 15-day structured roadmap to master REST APIs using Django. 💡 What’s inside: ✔ API fundamentals (from scratch) ✔ Real CRUD operations with database ✔ Function-Based & Class-Based Views ✔ ViewSets & Routers (industry-level) ✔ JWT Authentication (login system 🔐) ✔ Pagination & Filtering (performance 🚀) ✔ Deployment + best practices ✔ Interview questions + machine coding 🧠 Why I built this? When I was learning backend, everything felt: ❌ scattered ❌ confusing ❌ not interview-focused So I built this repo like a course + real project combined 📚 Who is this for? Beginners learning backend Students preparing for interviews Anyone switching to backend development 🔗 Check it out here: https://lnkd.in/guKJiQqX If this helps you: ⭐ Star the repo 💬 Share your feedback #python #django #restapi #backenddeveloper #webdevelopment #programming #developers #learning #github #100DaysOfCode
To view or add a comment, sign in
-
🚀 Stop blindly using @Autowired on fields. It works… but it’s NOT the best way. Let’s understand why 👇 👉 There are 3 ways to inject dependencies in Spring: 1️⃣ Field Injection 2️⃣ Setter Injection 3️⃣ Constructor Injection ✅ (Recommended) --- 💡 Most beginners do this: @Service public class OrderService { @Autowired private PaymentService paymentService; } ❌ Problems: - Hard to test (no control over dependency) - Hidden dependencies - Breaks immutability --- ✅ Better approach → Constructor Injection: @Service public class OrderService { private final PaymentService paymentService; public OrderService(PaymentService paymentService) { this.paymentService = paymentService; } } ✔ Dependencies are explicit ✔ Easy to write unit tests ✔ Ensures immutability --- 🔥 Bonus (Spring Boot magic): If a class has ONLY ONE constructor → You don’t even need @Autowired 😮 Spring automatically injects it! --- ⚡ Real-world impact: In large projects: - Field injection → messy & hard to debug - Constructor injection → clean & maintainable --- ❌ Common mistake: Using @Autowired everywhere just because it’s easy --- 📌 Key Takeaway: “Convenience is not always best practice.” Always prefer Constructor Injection for clean and testable code. --- Follow for more real backend learnings 🚀 #SpringBoot #Java #CleanCode #BackendDevelopment #SoftwareEngineer
To view or add a comment, sign in
-
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