Problem Statement: Adding two fractional numbers. Examples: Example 1: Input: 3/4 + 1/7 Output: 25/28 Explanation: Since 3/4 + 1/7
Continue readingCategory: 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 readingFind 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 readingCheck 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 readingFind 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 readingCheck 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 readingCheck 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 readingFind LCM of two numbers
Problem Statement: Find lcm of two numbers. Examples: Example 1: Input: num1 = 4,num2 = 8 Output: 8 Example 2:
Continue readingFind GCD of two numbers
Problem Statement: Find the gcd of two numbers. Examples Example 1: Input: num1 = 4, num2 = 8 Output: 4
Continue readingConvert Binary to Octal
Problem Statement: Convert a binary number to an octal number Examples: Example 1:. Input: N = 1100110 Output: 146 Explanation:
Continue reading