🚀 50 Days of Java – Day 39 🚀 Continuing my #50DaysOfJava journey by learning and implementing Circular Queue using Array in Java 💻 📘 What I covered today: • Implemented Circular Queue using Array • Understood efficient memory utilization compared to Linear Queue • Learned circular increment using modulo operation • Performed queue operations: "enqueue", "dequeue", and "peek" Circular Queue helps overcome the limitations of linear queues by reusing empty spaces efficiently. Sharing my daily learning and code to stay consistent 🚀 🔗 GitHub repo: (https://lnkd.in/gY4QQiFk) Consistently building strong Data Structure concepts 💪 #Java #50DaysOfJava #Day39 #CircularQueue #Queue #DataStructures #DSA #LearningInPublic #CodingJourney #bca #student
More Relevant Posts
-
🚀 50 Days of Java – Day 40 🚀 Continuing my #50DaysOfJava journey by implementing Queue using Linked List in Java 💻 📘 What I covered today: • Implemented Queue using Linked List • Understood FIFO (First In, First Out) working principle • Performed queue operations: "enqueue", "dequeue", and "peek" • Learned advantages of dynamic memory allocation over array-based queues Implementing queue using Linked List helped me understand how dynamic data structures efficiently manage memory. Sharing my daily learning and code to stay consistent 🚀 🔗 GitHub repo: (https://lnkd.in/gYXNKNCZ) Step by step strengthening my DSA journey 💪 #Java #50DaysOfJava #Day40 #Queue #LinkedList #DataStructures #DSA #LearningInPublic #CodingJourney #bca #student
To view or add a comment, sign in
-
🚀 50 Days of Java – Day 46 🚀 Continuing my #50DaysOfJava journey by exploring another powerful application of the Trie data structure 💻🌳 📘 What I covered today: • Implemented a Java program to count unique substrings of a string using Trie • Inserted all suffixes of a string into the Trie • Used Trie nodes to calculate the number of unique substrings • Strengthened understanding of string processing and Trie-based algorithms This problem showed how Trie can be used for efficient string manipulation and substring analysis. Sharing my daily learning and code on GitHub to stay consistent 🚀 🔗 GitHub repo: (https://lnkd.in/gfMFJarK) Getting closer to completing the challenge 💪 #Java #50DaysOfJava #Day46 #Trie #DataStructures #DSA #StringAlgorithms #LearningInPublic #CodingJourney #bca #student #invertis_university #mca
To view or add a comment, sign in
-
Java Learning Journey – Day 20 Today I revisited and strengthened my understanding of Lambda Expressions in Java. 🔹 What are Lambda Expressions? They provide a short and clean way to write anonymous functions, making code more readable and efficient. 🔹 Key Benefits: • Reduces boilerplate code • Improves readability • Supports functional programming • Works seamlessly with collections and streams 🔹 Best Practices: • Keep lambdas short and simple • Use meaningful parameter names • Avoid complex logic inside lambdas 💡 Key Learning: Lambda expressions help in writing modern, clean, and efficient Java code. Step by step growing stronger in my Java development journey #Java #JavaDeveloper #Lambda #Programming #CodingJourney #SoftwareDevelopment #Hariom #HariomKumar #Hariomcse
To view or add a comment, sign in
-
-
✨ Day 26 of Learning Java – Exception Handling in Action ✨ Today I explored how exceptions are managed across multiple methods using try-catch-finally. In my program: The tieMethod prints a message, calls another method, and gracefully handles any exceptions. The tilMethod throws custom ArithmeticExceptions for specific inputs (0 and 10), catches them locally, and ensures the finally block always runs. The main method takes user input and demonstrates how the flow continues even when exceptions occur. 🔑 Key Takeaways Nested try-catch blocks allow different layers of exception handling. Custom messages make debugging clearer. The finally block guarantees execution, no matter what happens. Exception handling ensures programs don’t crash unexpectedly and maintain logical flow. 💡 Example: Input 0 → "ArithmeticException: / by zero" + "Finally" + "Coders" Input 5 → "Completed" + "Finally" + "Coders" This exercise strengthened my understanding of how Java ensures robust and predictable code execution. #Day26 #JavaLearning #ExceptionHandling #TryCatchFinally #CodeFlow #LearningJourney #JavaBeginners
To view or add a comment, sign in
-
🚀 Day 22 of my Java DSA Journey Back after a short break — now continuing with consistency. Today’s problem: Merge Two Sorted Lists (LeetCode #21) 🔹 Topic: Linked List 🔹 Pattern: Two Pointer Technique 💡 Key Idea: We use two pointers to traverse both sorted linked lists and build a new sorted list by always picking the smaller node. Instead of creating new nodes, we simply adjust the existing node pointers — making the solution efficient. 🧠 Key Learning: Linked List problems are more about pointer manipulation than logic complexity. Once you understand how pointers move, problems become much easier. 📊 Complexity: • Time: O(n + m) • Space: O(1) Consistency > Perfection. Back to the grind. 🔗 GitHub Solution: https://lnkd.in/gTzbQeTV #Java #DSA #LinkedList #LeetCode #ProblemSolving #CodingJourney
To view or add a comment, sign in
-
-
Today I continued learning Multithreading in Java, and this time I explored some methods that actually control how threads behave. At first, it felt like threads just run randomly… but now I’m starting to see how we can manage them. Here are a few things I understood: ✔ sleep() → pauses a thread for some time 👉 Useful when we want to delay execution ✔ join() → makes one thread wait for another to finish 👉 Helps when tasks depend on each other ✔ yield() → gives a chance to other threads to run 👉 Not guaranteed, but helps in better thread scheduling Then I came across synchronization, which felt really important. When multiple threads try to access the same resource, it can create problems like incorrect data or unexpected results. 👉 Synchronization helps control this by allowing only one thread at a time to access shared resources. Because of this: ✔ Data stays consistent ✔ Avoids race conditions ✔ Makes applications more reliable Still learning how all this works internally, but it’s interesting to see how much control we actually have over threads. Step by step learning 🚀 If you’ve worked with multithreading, what part did you find most tricky? #java #multithreading #concurrency #backenddevelopment #javadeveloper #codingjourney #learninginpublic #softwaredevelopment
To view or add a comment, sign in
-
-
Continuing my Java learning journey, I’ve recently covered another set of important core concepts that strengthen the foundation of object-oriented programming and application development. Here are the topics I explored: parseInt and type conversion from String to numeric values Packages in Java for better code organization and modularity Constructors and their role in object initialization Getters and Setters for controlled access to data (Encapsulation) Pass by Value in Java and approaches to handle its limitations Constructor Chaining for efficient initialization across constructors Variable Types in Java: Class Variables (static) Instance Variables Local Variables Static Block and its use in initialization before object creation Each of these concepts adds clarity to how Java handles memory, object creation, and data access, making code more structured and maintainable. Gradually building towards writing cleaner and more scalable Java applications. #Java #OOP #Programming #LearningJourney #SoftwareDevelopment #CDAC
To view or add a comment, sign in
-
-
Nobody told me that Java exceptions would teach me how to think about failure. I used to treat errors like inconveniences. Something went wrong? Wrap it in a try-catch and move on. Today changed that. I went deep into Java's exception system — the hierarchy, checked vs unchecked, throwing and rethrowing, chaining exceptions so you never lose the root cause, and writing custom exceptions from scratch. And somewhere in the middle of it, I realized something: Exceptions aren't just error handling. They're how your program communicates when something goes wrong. Writing good exceptions is like writing good error messages for your future self. I also covered generics and the Comparable interface today. Generics still feel a bit abstract, but the moment I understood that Box<T> means "one class, any type" — something clicked. Finished the day with time complexity. Connecting algorithm efficiency to the code I'm actually writing feels like leveling up. I'm a CS graduate learning in public. Not every day is clean. But every day moves forward. What's one concept that rewired how you think about code? #Java #LearningInPublic #100DaysOfCode #CSGraduate
To view or add a comment, sign in
-
Hello, my connections. #Day12 of my 21-Day Java Learning Challenge Today I focused on understanding generics and wrapper classes in Java. These concepts are very useful when working with collections and help make the code more flexible and type-safe. Here’s what I learned today: • What Generics are and how they help write reusable and type-safe code • The idea of Generic classes and methods • Understanding Wrapper Classes and why Java uses them • Difference between primitive data types and wrapper objects • Concepts of Autoboxing and Unboxing Learning these topics helped me understand how Java manages different data types efficiently, especially when working with collections. Continuing to learn consistently from GeeksforGeeks and improving my Java fundamentals step by step. #Java #JavaLearning #Generics #WrapperClasses #JavaDeveloper #LearningInPublic #GeeksforGeeks #21DayChallenge
To view or add a comment, sign in
-
🚀 Exploring Java Collections Framework Today I deepened my understanding of how the Java Collections Framework is structured and how different data structures like List, Set, and Queue work internally. 🔍 Key Learnings: • Difference between List, Set, and Queue • Working of ArrayList, LinkedList, HashSet, TreeSet • Importance of SortedSet and data organization • How Java manages data efficiently using collections 📊 This hierarchy diagram helped me visualize everything clearly and build a strong foundation in Java. Consistency in learning is helping me grow step by step 💪 Big thanks to Prasoon Bidua sir and REGex Software Services for guidance and support 🙏 #Java #DSA #CollectionsFramework #LearningJourney #Coding #100DaysOfCode #JavaDeveloper
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