# Tag Archives: Numbers

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
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
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
Given an array arr[] of size N containing strings, the task is to count the number of strings having sum of ASCII values of characters… Read More
Given two positive integers A and B representing the complex number Z in the form of Z = A + i * B, the task… Read More
Given a positive integer N and a digit D, the task is to check if N can be represented as a sum of positive integers… Read More