# Tag Archives: Numbers

Given a floating-point number in the form of a string N, the task is to convert the given floating-point number into fractions. Enclosed sequence of… Read More
Given an alphanumeric string S of length N, the task is to check if the given string represents a hexadecimal number or not. Print Yes… Read More
Given an integer N, the task is to print a sequence of length N consisting of alternate odd and even numbers in increasing order such… Read More
Given two integer N and K, the task is to print all positive numbers made up of N digits whose difference between the first and… Read More
Given three integers N, X, and Y, the task is to check if it is possible to reduce N to 0 or less by the… Read More
Given two natural numbers N and M, Create a graph using these two natural numbers using relation that a number is connected to its largest… Read More
Given two integers N and K, the task is to find the Nth Subset from the sequence of subsets generated from the powers of K… Read More
Given a positive number N, the task is to check whether the given number N can be expressed in the form of ax + by… Read More
Given an array arr[] of N positive integers and an integer K., The task is to create a set of prime numbers such that the… Read More
Given a positive integer N, the task is to find the number of ordered pairs (X, Y) where both X and Y are positive integers,… Read More
Given a numeric string s consisting of digits 0 to 9, the task is to find the length of the largest subsequence consisting of a… Read More
Given an integer N, the task is to count the minimum steps required to reduce the value of N to 0 by performing the following… Read More
Given two integers N and K, the task is to find the count of all possible N-digit numbers having sum of every K consecutive digits… Read More
Given a positive integer N, the task is to find the sum of the product of all the integers in the range [1, N] with their… Read More
Given an integer N, the task is to find two numbers a and b such that a / b = N and a – b… Read More