|
12 | 12 | - [Brackets or Parentheses Problems](#brackets-or-parentheses-problems)
|
13 | 13 |
|
14 | 14 | # Basic Programs
|
15 |
| -1. Check the given number is EVEN or ODD. [[Solution]](InterviewPrograms/src/com/java/basic/EvenOrOdd.java) |
16 |
| -2. Write a Java Program to find the Factorial of given number. [[Solution]](InterviewPrograms/src/com/java/basic/Factorial.java) |
17 |
| -3. Find the Factorial of a number using Recursion. [[Solution]](InterviewPrograms/src/com/java/basic/FactorialUsingRecursion.java) |
18 |
| -4. Swap two numbers without using third variable approach 1. [[Solution]](InterviewPrograms/src/com/java/basic/SwapApproach1.java) |
19 |
| -5. Swap two numbers without using third variable approach 2. [[Solution]](InterviewPrograms/src/com/java/basic/SwapApproach2.java) |
20 |
| -6. Swap two numbers without using third variable approach 3. [[Solution]](InterviewPrograms/src/com/java/basic/SwapApproach3.java) |
21 |
| -7. How to check the given number is positive or negative in Java? [[Solution]](InterviewPrograms/src/com/java/basic/PositiveOrNegative.java) |
22 |
| -8. Write a Java Program to find whether given number is Leap year or NOT? [[Solution]](InterviewPrograms/src/com/java/basic/LeapYear.java) |
| 15 | +1. Check the given number is ***EVEN or ODD***. [[Solution]](InterviewPrograms/src/com/java/basic/EvenOrOdd.java) |
| 16 | +2. Write a Java Program to find the ***Factorial*** of given number. [[Solution]](InterviewPrograms/src/com/java/basic/Factorial.java) |
| 17 | +3. Find the ***Factorial*** of a number using ***Recursion***. [[Solution]](InterviewPrograms/src/com/java/basic/FactorialUsingRecursion.java) |
| 18 | +4. ***Swap two numbers*** without using third variable approach 1. [[Solution]](InterviewPrograms/src/com/java/basic/SwapApproach1.java) |
| 19 | +5. ***Swap two numbers*** without using third variable approach 2. [[Solution]](InterviewPrograms/src/com/java/basic/SwapApproach2.java) |
| 20 | +6. ***Swap two numbers*** without using third variable approach 3. [[Solution]](InterviewPrograms/src/com/java/basic/SwapApproach3.java) |
| 21 | +7. How to check the given number is ***Positive or Negative*** in Java? [[Solution]](InterviewPrograms/src/com/java/basic/PositiveOrNegative.java) |
| 22 | +8. Write a Java Program to find whether given number is ***Leap year or NOT***? [[Solution]](InterviewPrograms/src/com/java/basic/LeapYear.java) |
23 | 23 | 9. Write a Java Program to Print 1 To 10 Without Using Loop. [[Solution]](InterviewPrograms/src/com/java/basic/Print10WithoutLoop.java)
|
24 |
| -10. Write a Java Program to print the digits of a Given Number. [[Solution]](InterviewPrograms/src/com/java/basic/DigitsOfNumber.java) |
| 24 | +10. Write a Java Program to print the ***digits of a Given Number***. [[Solution]](InterviewPrograms/src/com/java/basic/DigitsOfNumber.java) |
25 | 25 | 11. Write a Java Program to print all the ***Factors of the Given number***. [[Solution]](InterviewPrograms/src/com/java/basic/FactorsOfANumber.java)
|
26 | 26 | 12. Write a Java Program to find ***sum of the digits of a given number***. [[Solution]](InterviewPrograms/src/com/java/numbers/SumOfDigits.java)
|
27 |
| -13. Write a Java Program to find the smallest of 3 numbers (a,b,c) without using < or > symbol? [[Solution]](InterviewPrograms/src/com/java/numbers/FindTheSmallest.java) |
| 27 | +13. Write a Java Program to ***find the smallest of 3 numbers*** (a,b,c) without using < or > symbol? [[Solution]](InterviewPrograms/src/com/java/numbers/FindTheSmallest.java) |
28 | 28 | 14. How to add two numbers without using the arithmetic operators in Java? [[Solution]](InterviewPrograms/src/com/java/numbers/AddWithoutPlus.java)
|
29 | 29 | 15. Write a java program to ***Reverse a given number***. [[Solution]](InterviewPrograms/src/com/java/numbers/ReverseTheNumber.java)
|
30 | 30 |
|
|
0 commit comments