✨2/100 Java Programs challenge : 📋category : Medium Solved Longest Substring Without Repeating Characters using Java. Implemented a brute-force approach to understand the problem deeply before optimizing. 📌 Key learnings: • String traversal • Handling duplicates efficiently • Improving problem-solving confidence On to the next challenge 🚀 #LeetCode #Java #DSA #ProblemSolving #CodingJourney
Solving Longest Substring Without Repeating Characters in Java
More Relevant Posts
-
Monday Deep Dive – Java Strings Complete Revision Today I revisited one of the most important topics in Core Java: 🔹 String & String Constant Pool 🔹 Immutability & Memory Management 🔹 String Comparison Techniques 🔹 Concatenation Methods & Performance Tests 🔹 substring(), split(), indexOf() 🔹 String vs StringBuffer vs StringBuilder 🔹 Immutable Class Design 🔹 toString() Method 🔹 StringTokenizer (Legacy vs Modern Approach) Understanding how Strings work internally is crucial for writing efficient, optimized, and interview-ready Java code. Strong fundamentals. Clean code. Better performance. 🚀 #Java #CoreJava #JavaDeveloper #DSA #StringConcepts #Coding #LearningJourney #CodesInTransit #InterviewPreparation #MondayMotivation #RevisitingTheTopics
To view or add a comment, sign in
-
--- 🔤 Strings in Java – A Core Concept Every Developer Must Know Strings are one of the most used data types in Java. From handling user input to building dynamic applications, mastering Strings is essential. ✨ Key highlights: Strings are immutable Powerful built-in String methods Easy concatenation & manipulation Safe and efficient comparisons Understanding Strings helps write cleaner, safer, and more optimized Java code 🚀 #Java #StringsInJava #JavaProgramming #CoreJava #Coding #SoftwareDevelopment #LearningJava #TAPACADAMY ---
To view or add a comment, sign in
-
-
🚀 Deep Diving into Java – Understanding Static Blocks & Execution Flow Practicing Java concepts today, focusing on static variables, static blocks, and method execution order. Seeing the output step-by-step in the command prompt really helps in understanding how Java loads classes and executes static members before main(). 💻 Practice makes concepts crystal clear. 📚 Consistency builds confidence. 🎯 Goal: Master core Java fundamentals. #Java #CoreJava #Programming #Learning #BackendDevelopment #CodingJourney #FSJD
To view or add a comment, sign in
-
-
✅ DSA Day 7 / 100 Solved Median of Two Sorted Arrays on LeetCode using Java. Logic : - Combine both sorted arrays into one array -Sort the merged array - Find the middle index - If the total length is odd → median is the middle element -If even → median is the average of the two middle elements #DSA #100DaysOfCode #Java #LeetCode #BeginnerDSA #LearningInPublic #Consistency
To view or add a comment, sign in
-
-
🚀 Day 9: Exploring Types of Constructors in Java Yesterday’s focus was on understanding the different types of constructors (DPC) in Java: • Default Constructor • Parameterized Constructor • Copy Constructor 🔹 Learned the definition and purpose of each type 🔹 Understood how they work internally during object creation 🔹 Practiced coding examples to compare behavior with and without constructors 🔹 Observed how constructors help in proper initialization of objects Strengthening my understanding of object-oriented principles and writing more structured Java programs 🚀 Keys Technologies #Java #CoreJava #Constructors #OOP #LearningProgress #SoftwareDevelopment 12/02/2026
To view or add a comment, sign in
-
-
🚀 Java practice - Day 89 Completed! 👍 Problem: Find Minimum Operations to Make All Elements Divisible by Three Language: Java Today’s problem was about minimizing operations. We’re given an array, and in one operation we can add or subtract 1 from any element. The goal is to make all elements divisible by 3 using the minimum number of operations. ✨ #Day89 #Java #LeetCode #Arrays #ProblemSolving #DailyCoding #Consistency #100DaysOfCode
To view or add a comment, sign in
-
-
Most people think Java is only “compiled.” However, Java is actually both compiled and interpreted, thanks to the JVM and JIT, which contribute to its portability and speed. I created a 5-slide visual to explain the full journey: - .java → javac → .class (bytecode) - JVM loads & verifies - Interpreter vs JIT - Output Save this for interview preparation or quick revision. Follow for more Java visuals. Bodili Yashwanth Sai #Java #JVM #JIT #JavaDeveloper #BackendDevelopment #SoftwareEngineering #Programming #Coding #ComputerScience #InterviewPrep #LearnJava #Tech #DeveloperCommunity #100DaysOfCode #PlacementPreparation
To view or add a comment, sign in
-
🚀 Week Wrap-Up — Java Multithreading ☕🧵 This week, I focused on understanding how Java executes multiple tasks concurrently using multithreading and how threads behave during execution. ✅ What I Learned ✔ Process vs Thread ✔ Multitasking vs Multithreading ✔ Creating threads using Thread & Runnable ✔ Thread lifecycle (New → Runnable → Running → Waiting → Dead) ✔ start() vs run() ✔ Methods: sleep(), join(), yield(), interrupt() ✔ Thread priorities & daemon threads 🖼️ Attached: Thread Lifecycle diagram that helped visualize thread state transitions. 📂 Practice Code: 🔗 https://lnkd.in/d6ehBTty 📝 Notes/Blog: 🔗 https://lnkd.in/dXsA7j3X #Java #Multithreading #CoreJava #LearningJourney #JavaDeveloper #BackendDevelopment
To view or add a comment, sign in
-
-
Java doesn’t support multiple inheritance to keep things simple, predictable, and maintainable. When two parent classes contain methods with the same name, the compiler faces ambiguity — known as the Diamond Problem. To avoid this confusion, Java allows multiple inheritance only through interfaces, not classes. Clear rules lead to better design. ☕ #Java #CoreJava #JavaConcepts #OOP #MultipleInheritance #DiamondProblem #SoftwareDesign #BackendDevelopment
To view or add a comment, sign in
-
-
Solved a tricky Java interview-style question today involving: static variables instance variables constructors object references This example really helped me understand how Java memory works and how static data is shared across objects while instance data is unique per object. Learning by solving real problems instead of just watching tutorials. #Java #OOP #LearningByDoing #SoftwareDeveloper #InterviewPrep
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