Coprime numbers are ones with just one common factor in common, which is 1. To put it another way, a pair of numbers is said… Read More
Tag Archives: Numbers
All integers can be categorized into two distinct types: Even Numbers and Odd Numbers. The division of integers into odd and even is commonly known… Read More
Given a positive integer N, the task is to find the largest possible value of N after any number of swaps is made between digits… Read More
Given a number N, the task is to count all the rotations of the given number which are divisible by 10.Examples: Input: N = 10203 Output:… Read More
Given a number N, the task is to count all the rotations of the given number which are divisible by 10.Examples: Input: N = 10203 Output:… Read More
Given a number N, the task is to count all the rotations of the given number which are divisible by 10.Examples: Input: N = 10203 Output:… Read More
Given a number N, the task is to count all the rotations of the given number which are divisible by 10.Examples: Input: N = 10203 Output:… Read More
Given an array arr[] of size N, the task is to check if it is possible to convert all of the array elements to a… Read More
Given an array arr[] of size N, the task is to check if it is possible to convert all of the array elements to a… Read More
Python3 Program to Check if all array elements can be converted to pronic numbers by rotating digits
Given an array arr[] of size N, the task is to check if it is possible to convert all of the array elements to a… Read More
Given an array arr[] of size N, the task is to check if it is possible to convert all of the array elements to a… Read More
We can not directly give the answer to this question of what is the largest number in the world as there are infinite numbers and… Read More
In this article, we will learn how to convert a decimal value(base 10) to a hexadecimal value (base 16) in Python. Method 1: Using hex()… Read More
Given two integers R1, R2 denoting runs scored by two players, and B1, B2 denoting balls faced by them respectively, the task is to find… Read More
Given a positive integer K, and an array arr[] consisting of N( =9) integers such that arr[i] represents the cost of the digit (i+1), the… Read More