🚀 Continuing my Core Java learning journey… Today I practiced string problems and tried to understand how the logic actually works step by step. Here’s what I practiced: ✔ Reversing a string without built-in methods ✔ Palindrome check using two-pointer approach ✔ Counting vowels, consonants & character frequency ✔ Removing whitespaces manually ✔ Finding the longest word in a sentence ✔ Checking anagrams using sorting logic ✔ First non-repeating character ✔ Validating numeric strings 💡 Key takeaway: Most string problems become easier once you understand character traversal and frequency counting patterns. Initially struggled with edge cases, but with practice, the logic is starting to click. Big thanks to the learning environment at Global Quest Technologies and the guidance from G.R NARENDRA REDDY sir. On to the next challenge 🚀 #Java #CoreJava #CodingPractice #Strings #ProblemSolving #DeveloperJourney #Consistency
Java String Problems and Solutions with G.R NARENDRA REDDY
More Relevant Posts
-
📅 Daily Learning Update (Backend Engineering) Today’s focus was on understanding concurrency and multithreading in Java. 🔹 Revised concepts like threads, lifecycle, and thread creation 🔹 Learned about synchronization and how it prevents race conditions 🔹 Explored issues like deadlock, starvation, and how to avoid them 🔹 Understood the use of "volatile" and its role in memory visibility 🔹 Looked into thread pools and how "ExecutorService" improves performance Key takeaway: 👉 Writing concurrent code requires careful handling to ensure correctness and performance. Consistency is the goal — learning something valuable every day. #DailyLearning #BackendEngineer #Java #Multithreading #Concurrency #SystemDesign #SoftwareEngineering #TechJourney
To view or add a comment, sign in
-
🚀 Day 44 of My Learning Journey Today I explored some important concepts in Java related to memory management and threading. Here’s what I learned: 🔹 Finalize Method Used before an object is garbage collected. Helps in performing cleanup activities like closing resources. However, it's not reliable and is now considered outdated in modern Java practices. 🔹 Mark and Sweep Algorithm A key technique used in Garbage Collection. Mark Phase: Identifies objects that are still in use. Sweep Phase: Removes unused objects from memory. Improves memory efficiency and prevents memory leaks. 🔹 Garbage Collector Automatically manages memory by removing unused objects. Helps developers focus more on logic rather than memory handling. Works in the background for better performance. 🔹 Daemon Thread A low-priority thread that runs in the background. Supports main threads (e.g., garbage collection). Automatically stops when all user threads finish execution. 💡 Key Takeaway: Understanding how memory is managed and how background threads work is crucial for writing efficient and optimized Java programs. #Java #GarbageCollection #Multithreading #LearningJourney #Programming #Developer
To view or add a comment, sign in
-
-
🚀 Day 6 of My Java Learning Journey – Mastering Arrays Today, I worked on strengthening my fundamentals of arrays in Java by implementing multiple important operations in a single program. Here’s what I practiced 👇 🔹 Introduction of aray 🔹 Traversing an array using enhanced for-loop 🔹 Calculating the sum of elements 🔹 Finding maximum & minimum values 🔹 Reversing an array 🔹 Performing linear search 🔹 Implementing Bubble Sort 💡 This small program helped me understand how powerful arrays are when combined with logic and loops. It also improved my problem-solving skills step by step. 📌 Key Learning: Arrays are not just about storing data — they are the foundation for solving real-world problems efficiently. 💻 Consistency is the key. Every day, one step forward! #Java #Programming #CodingJourney #Arrays #100DaysOfCode #Learning #JavaDeveloper #ProblemSolving
To view or add a comment, sign in
-
🚀 Day 35 of My Java Learning Journey Today I explored the range of Multithreading in Java — a key concept for building high-performance applications! 📌 What I learned: Multithreading allows a program to execute multiple tasks simultaneously, improving efficiency and performance. 🔍 Key concepts covered: Creating threads using Thread class and Runnable interface Understanding thread lifecycle (New → Runnable → Running → Terminated) Synchronization to avoid conflicts between threads Managing multiple threads for better resource utilization 💡 Why it matters: Multithreading is essential for: Building responsive applications Performing tasks in parallel Improving CPU utilization and performance ⚡ Key takeaway: Efficient thread management is crucial — improper handling can lead to issues like race conditions and deadlocks. 📈 Slowly leveling up my Java skills and getting closer to writing more optimized and scalable programs! #Java #Multithreading #LearningJourney #Programming #100DaysOfCode
To view or add a comment, sign in
-
-
🚀 Learning Java Polymorphism! Today I practiced a simple example of runtime polymorphism in Java using method overriding. 🔹 Created a base class payment 🔹 Extended it with UPI and CreditCard 🔹 Overrode the pay() method in each class 🔹 Used dynamic method dispatch to call different implementations 💡 Output: Pay using UPI Pay using Credit Card This helped me clearly understand how Java decides which method to execute at runtime. 📌 Key Concept: Polymorphism allows for one interface with multiple implementations, making code flexible and reusable. #Java #Programming #LearningJourney #Coding #OOP #PlacementsPreparation #Polymorphism #10000Coders Meghana M
To view or add a comment, sign in
-
-
Hello, my connections, #Day19 of my 21-Day Java Learning Challenge. Today I focused on a few important Java concepts that help make code more secure and well-structured. Here’s what I learned today: • Encapsulation in Java—understanding how data and methods are wrapped into a single unit • Data Hiding—learning how to protect variables from direct access • Getter and Setter Methods—understanding how to access and update data in a safe way These topics helped me understand how Java supports better security and cleaner code design. Step by step, I’m learning how to write code in a more proper and structured way. Continuing to learn from GeeksforGeeks and improving my Java fundamentals every day. #Java #JavaLearning #CoreJava #Encapsulation #DataHiding #JavaDeveloper #LearningInPublic #GeeksforGeeks #21DayChallenge
To view or add a comment, sign in
-
🚀 Continuing my journey to become a Java Full Stack Developer 💻 📌 Focus: Polymorphism in Java ✅ Learned what polymorphism means (one name, many forms) ✅ Explored method overloading (compile-time polymorphism) ✅ Understood method overriding (runtime polymorphism) ✅ Practiced using the @Override annotation 💡 Key Learning: Polymorphism helps in writing flexible and reusable code by allowing the same method to behave differently. 🧪 Practice Programs: - Method overloading (same method with different parameters) - Method overriding using parent and child classes 🎯 Progress: Enhancing flexibility and scalability in Java programs #Java #FullStackDeveloper #CodingJourney #Day11 #OOP #Programming #JavaDeveloper
To view or add a comment, sign in
-
🚀 Day 1 of my Java journey! Today I spent 4 hours learning Java from scratch, and here's what I covered: ✅ How Java works (JVM, compile once, run anywhere) ✅ Setting up my development environment ✅ Variables — int, double, String, boolean ✅ Reading user input with Scanner ✅ Arithmetic operators ✅ String methods ✅ If/else logic and decision making ✅ Random numbers Java is a powerful, in-demand language for backend development and I am committed to learning it every day to become a Java developer. 💪 This is Day 1 of many. If you are on a similar journey or can share advice, please connect with me! 🙏 #Java #JavaDeveloper #100DaysOfCode #LearningToCode #Coding #Programming #TechCareer #BackendDevelopment
To view or add a comment, sign in
-
Day 36 of my AI-Powered Java Full Stack Journey Day 36 : Today I learned about wait(), notify(), and notifyAll() in Java. 1. wait(): is used to pause a thread until some condition is met. 2. notify(): wakes up one waiting thread. 3. notifyAll(): wakes up all waiting threads. These concepts are important in multithreading to control how threadsgive day 3 communicate with each other. Slowly understanding how Java works internally Day 37: Learned about Callable and Try-with-Resources. Callable is used to return a result from a thread. Try-with-Resources helps to automatically close resources like files and connections. Simple concepts, but very useful in real-world applications 👍 Thank you Fayaz S sir for your contant guidance. Github: https://lnkd.in/gy3DjmFN #Java #FullStack #Multithreading #Callable #100DaysOfCode #CodingJourney #LearnJava
To view or add a comment, sign in
-
-
Learning Polymorphism in Java Today I explored one of the core concepts of OOPs – Polymorphism. It allows a single method to perform multiple behaviors depending on the object. 🔹 Covered: Compile-time polymorphism (Method Overloading) Runtime polymorphism (Method Overriding) Real examples with Java code Understanding this concept improves code flexibility, reusability, and scalability. 📘 Sharing my handwritten notes + examples for better understanding. #Java #OOP #Polymorphism #Programming #CodingJourney #Learning #JavaDeveloper #SoftwareDevelopment
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