Day 38-What I Learned In a Day (JAVA) Today I focused on number-based problem solving in Java and practiced 10+ problems to strengthen my logic building skills. Topics I covered: 🔹Finding the last digit 🔹Reducing a number to a single digit 🔹Checking Spy Number 🔹Counting digits in a number 🔹Checking Neon Number 🔹Calculating sum & product of digits 🔹Checking Armstrong Number 🔹Identifying Abundant Number 🔹Finding largest & smallest digit 🔹Checking Duck Number 🔹Printing odd digits 🔹Counting, sum, and product of odd digits This practice helped me improve: Looping concepts Conditional logic Number manipulation techniques Consistency in solving problems is helping me build strong fundamentals in Java. #Java #Programming #CodingPractice #ProblemSolving #LearningJourney
More Relevant Posts
-
Solved “Valid Anagram” problem in Java today 💻 Learned how to efficiently check if two strings are anagrams using: • Sorting approach (clean but O(n log n)) • Frequency array approach (optimized O(n)) 🚀 Key takeaway: Choosing the right approach can significantly improve performance, especially for large inputs. Consistent practice with DSA is helping me strengthen problem-solving skills and think in terms of optimization. #Java #DSA #LeetCode #ProblemSolving #CodingJourney #Programming
To view or add a comment, sign in
-
-
***Learn Programming with Arrays, Lists, Sets and Maps with Practical Examples*** Session 2: Array Object in Java | Programming with Arrays, Lists, Sets and Maps Series Learn It Easy: https://lnkd.in/dYh-esat #arrays #lists #sets #maps #java #learntocode #seleniumwebdriver #automationtesting #computerprogramming #dezinnia #dezlearn #happylearning
Session 2: Array Object in Java | Programming with Arrays, Lists, Sets and Maps Series
https://www.youtube.com/
To view or add a comment, sign in
-
Sum of the Array in Java | Easy Logic + Coding 💡 Strong fundamentals are the key to mastering programming. This example shows how to find the sum of array elements using simple logic: • Start with an array of numbers • Initialize a sum variable to 0 • Traverse the array using a loop • Add each element to the sum • Print the final result Practicing these basic problems helps build strong logical thinking and coding confidence. 📊 Example Input : [1, 2, 3, 4] Output : 10 🎥 I’ve also created a short video explaining this concept with code: YouTube link : https://lnkd.in/g9SJ3hvJ #Java #Programming #ProblemSolving #Coding #SoftwareDevelopment #Learning #CSE #Developers #LogicBuilding #Arrays
To view or add a comment, sign in
-
-
Day 43-What I Learned In a Day(JAVA) Today I worked on String concepts in Java and practiced some interesting problems. What I learned: Creating and using strings in Java Converting a number into an array using strings Handling characters using charAt() Problems I practiced: ✅ Created and manipulated strings ✅ Converted number -array using string ✅ Moved zeros to the end of an array These problems helped me understand how strings and arrays work together and improved my problem-solving skills. Learning step by step and getting better every day! Practiced 👇 #Java #CodingPractice #LearningJourney #Programming #100DaysOfCode
To view or add a comment, sign in
-
Day 7: Polymorphism After inheritance and method overriding, the next important idea is polymorphism. Polymorphism means one reference can take many forms. In Java, a parent type can hold a child object, and when a method is called, the behavior depends on the actual object behind it. That is what makes OOP more flexible and powerful. The same method call can behave differently in different classes. #Java #OOP #Programming #SoftwareEngineering #ComputerScience #koofkee
To view or add a comment, sign in
-
-
Day 4: Constructors After understanding classes, objects, encapsulation, and access modifiers, the next step is learning how objects get their initial values. That is where constructors come in. A constructor is used to initialize an object when it is created. In Java, it has the same name as the class, has no return type, and runs automatically when the object is created. Simple idea, but very important, because it helps us create objects in a cleaner and more intentional way. #Java #OOP #Programming #SoftwareEngineering #ComputerScience #koofkee
To view or add a comment, sign in
-
-
📌 Understanding the Fundamentals of Java For Loop A for loop is one of the most powerful control structures used for iteration. It operates based on three key components: 1️⃣ Initialization – Defines the starting point 2️⃣ Condition – Determines when the loop should stop 3️⃣ Step (Update) – Controls how the loop progresses 🔄 Execution Flow: Initialization → Condition → Execute → Step → Repeat 📈 Types of Iteration: • Forward Loop → Increment (i++) → Example: 1 to 9 • Backward Loop → Decrement (i--) → Example: 9 to 1 💡 Key Insight: A for loop is essentially movement across a number line with a defined start, end, and step. This simple visualization helps in understanding: ✔ Loop control ✔ Iteration logic ✔ Avoiding infinite loops #Java #SoftwareDevelopment #Programming #Coding #TechLearning
To view or add a comment, sign in
-
-
While revising Java Collections, I tried to simplify LinkedList in a visual way to make it easier to understand and remember. Here’s what I learned today, LinkedList uses a doubly linked list structure Each element is stored as a node (data + next + previous reference) It does not use continuous memory like arrays There is no fixed capacity, unlike ArrayList - When to use: Use LinkedList when your frequent operations involve insertions and deletions, as they are efficient. - When to avoid: It is not suitable when frequent retrieval (random access) is required, as it takes more time due to traversal. #Java #CollectionsFramework #LinkedList #JavaDeveloper #CodingJourney #LearnInPublic #SoftwareEngineering #Developers #Programming #TechLearning #DSA #BackendDevelopment
To view or add a comment, sign in
-
-
💻 Java Concept Series – (Code) My first Java program 👇 Printing “Hello, Java!” using a simple main method. Starting with the basics and building step by step 🚀 Next: JVM, JDK, JRE #Java #Coding #Programming #LearnInPublic #PlacementPreparation
To view or add a comment, sign in
-
🚀 New YouTube Video Alert! I just uploaded a new video where I practice Java loops by building a Multiplication Table Exercise 🧮 In this tutorial, I explain and demonstrate how to use: 🔹 "for" loop 🔹 "while" loop We go step by step to understand how iteration works in Java and how loops can simplify repetitive tasks. 💡 This exercise is perfect for beginners who want to strengthen their logic and improve their programming skills. 📺 Watch the full video here: [https://lnkd.in/dPqCz2h8] Let’s keep learning and building strong programming fundamentals together 💻🔥 #Java #Programming #Loops #Coding #YouTube #SoftwareDevelopment #LearnToCode
multiplication table in java using for and while loop
https://www.youtube.com/
To view or add a comment, sign in
Explore related topics
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