Adding Validation Logic to Spring Context: A Step-by-Step GuideIn the Spring framework, adding validation logic to your application can ensure data integrity and reliability. In this guide, we'll walk through the process of integrating validation logic for a Person class into the Spring context using the provide...Feb 3, 2024·4 min read·35
Where are my digits ?Hello, today, we gonna discuss the count digit problem. Let’s start. If you prefer watching over reading, don't worry! You can also check out my detailed video: https://youtu.be/8Erbgvjn_Cg What is the count digit problem? 🤔I think we don’t need t...Jun 18, 2023·2 min read·27
How to print prime factors of a number efficiently"In a realm where numbers hold secrets, a captivating challenge awaits, which is to Find all the Prime factors of a Number" Description Problem: We are given a number n. The task is to print all prime factors of n. Prime Factors: They are prime numbe...Jun 11, 2023·2 min read·8
GCD or HCF of two NumbersDescription GCD (Greatest Common Divisor) or HCF (Highest Common Factor) of two numbers is the largest number that divides both of them. Example: We have a = 4 and b = 6. GSD of 4 and 6 is 2. But how do we find it? We can use the super classic way. T...Jun 10, 2023·2 min read·16
Trailing Zeros in FactorialDescription Problem Description: We are given a number. The task is to find the Number of Trailing Zeros in the factorial of the number. The Trailing Zeros are the Zeros, which appear at the end of a number(factorial in that case) Examples : Input: 5...Jun 10, 2023·2 min read·41
Programming Diary v.0.1The topic of the Week: Sorting Algorithm Bubble sort You are going to try sorting Array (step-by-step).In each step, you will compare all the elements. Propose of each step is to pass the largest to the end of the Array.After each step ignores the la...Feb 4, 2023·2 min read·10
The Power of Active Studying: Unlock Your Full Potential as a Java ProgrammerAs a Java programmer, you're always looking for ways to improve your skills and take your career to the next level. One powerful tool at your disposal is active studying. By engaging with the material in a proactive, hands-on way, you can dramaticall...Feb 1, 2023·4 min read·3