Niraj Kumar’s Post

🚀 Day 9 of My 90 Days Java Full Stack Challenge Today, I focused on strengthening my understanding of String manipulation, Stack implementation, and Exception Handling in Java. 🧩 Problems Practiced ✔ String Compression Input: "aaabbc" Output: "a3b2c1" Learned how to implement run-length encoding logic using StringBuilder efficiently in O(n) time. ✔ Valid Parentheses Input: "({[]})" Used Stack (including manual stack implementation) to validate proper nesting of brackets. Improved understanding of LIFO and stack-based problem solving. ⚙ Java Concept Practiced ✔ Exception Handling try–catch blocks finally block usage Checked vs Unchecked exceptions Why exceptions shouldn’t be used for normal control flow 🧠 Key Takeaways Importance of handling edge cases Writing optimized code instead of brute force Understanding internal working of Stack Writing cleaner and more structured Java logic Consistency matters more than intensity 💪 #90DaysJavaFullStack #Java #StringManipulation #Stack #ExceptionHandling #LearningInPublic #DeveloperJourney

To view or add a comment, sign in

Explore content categories