# Tag Archives: base-conversion

Given an array B, and two integers N, X (2 ≤ X ≤ 100). Initially, array arr has all its values as zero. The task… Read More
Given a binary integer N, the task is to convert it into base 6. Note: The number of bits in N is up to 100. … Read More
Given two numbers N, M in the bases X, Y and another base P. The task is to find the product of N and M… Read More
N-Base modified Binary Search is an algorithm based on number bases that can be used to find an element in a sorted array arr[]. This… Read More
Given a Romal numeral, the task is to find its corresponding decimal value. Example :  Input: IX Output: 9 IX is a Roman symbol which… Read More
Given a Romal numeral, the task is to find its corresponding decimal value. Example :  Input: IX Output: 9 IX is a Roman symbol which… Read More
Given a Romal numeral, the task is to find its corresponding decimal value. Example :  Input: IX Output: 9 IX is a Roman symbol which… Read More
Given a Roman numeral, the task is to find its corresponding decimal value. Example :  Input: IX Output: 9 IX is a Roman symbol which… Read More
Given a Roman numeral, the task is to find its corresponding decimal value. Example :  Input: IX Output: 9 IX is a Roman symbol which… Read More
Given three positive integers X, Y, and B, where X and Y are Base-B integers, the task is to find the value of X –… Read More
Given two strings S and T, S being lexicographically greater than T, the task is to generate a lexicographically increasing sequence of strings starting from… Read More
Given an integer N, the task is to find base -2 representation of the number N in the form of a string, such that S0… Read More
Given a positive integer N, the task is to count the number of different bases in which, when N is represented, the most significant bit… Read More
Given two positive integers A and B and a string S of size N,  denoting a number in base A, the task is to convert… Read More
Given an array arr[] consisting of N floating-point numbers, the task is to print the decimal representation of the binary array constructed from the absolute… Read More