Problem Statement: Adding two fractional numbers. Examples: Example 1: Input: 3/4 + 1/7 Output: 25/28 Explanation: Since 3/4 + 1/7

Continue reading# Category: Maths

## Check if a number is Palindrome or Not

Problem Statement: Given a number check if it is a palindrome. An integer is considered a palindrome when it reads

Continue reading## Find the sum of numbers in the given range

Problem Statement: Find the sum of numbers in the given range. Examples: Example 1: Input: l=2, r=7 Output: 27 Explanation:

Continue reading## Check if the number is an abundant number or not

Problem Statement: Check if the number is an abundant number or not. Examples: Example 1: Input: 18 Output: Abundant Number

Continue reading## Find all Palindrome Numbers in a given range

Problem Statement: Given a range of numbers, find all the palindrome numbers in the range. Note: A palindromic number is

Continue reading## Check if a number is Automorphic Number

Problem Statement: Given a number, check if it is automorphic or not. A number is called an Automorphic number if

Continue reading## Check if the given number is Harshad(Or Niven) Number

Problem Statement: Check if the number is a Harshad(or Niven) number or not. Examples: Example 1: Input: 378 Output: Yes

Continue reading## Find LCM of two numbers

Problem Statement: Find lcm of two numbers. Examples: Example 1: Input: num1 = 4,num2 = 8 Output: 8 Example 2:

Continue reading## Find GCD of two numbers

Problem Statement: Find gcd of two numbers. Examples: Example 1: Input: num1 = 4, num2 = 8 Output: 4 Explanation:

Continue reading## Convert Binary to Octal

Problem Statement: Convert a binary number to an octal number Examples: Example 1:. Input: N = 1100110 Output: 146 Explanation:

Continue reading