Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Python
19.6K+ articles
Misc
7.8K+ articles
Mathematical
5.1K+ articles
Strings
2.1K+ articles
Bit Magic
821+ articles
Microsoft
811+ articles
number-digits
612+ articles
binary-representation
154+ articles
base-conversion
93 posts
Recent Articles
Popular Articles
Convert Bytes To Bits in Python
Last Updated: 23 July 2025
Converting bytes to bits in Python involves representing each byte in its binary form, where each byte is composed of 8 bits. For example , a byte like 0xAB (which is 171 ...
read more
Python
Picked
Geeks Premier League
base-conversion
python-basics
Geeks Premier League 2023
Check if a Zero Array can be converted to a given Array by incrementing some elements with X^i
Last Updated: 12 April 2023
Given an array B, and two integers N, X (2 ≤ X ≤ 100). Initially, array arr has all its values as zero. The task is to check if array arr[] can be made equal to the given ...
read more
Greedy
Mathematical
Geeks Premier League
Geeks-Premier-League-2022
DSA
Arrays
base-conversion
Convert a number from base 2 to base 6
Last Updated: 23 July 2025
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.Examples:Input: N = "100111"Output: 103Explanation: The given in...
read more
DSA
Uber
base-conversion
Maths
Multiply two numbers of different base and represent product in another given base
Last Updated: 23 July 2025
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 and represent the product in base P.Examples:Input: N = 101, M = 11...
read more
Mathematical
Algo Geek
Algo-Geek 2021
DSA
base-conversion
N-Base modified Binary Search algorithm
Last Updated: 23 July 2025
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 algorithm is an extension of Bitwise ...
read more
Bit Magic
Searching
Mathematical
Algo Geek
Algo-Geek 2021
DSA
Binary Search
Algorithms-Searching
base-conversion
C++ Program For Converting Roman Numerals To Decimal Lying Between 1 to 3999
Last Updated: 23 July 2025
Given a Roman numeral, the task is to find its corresponding decimal value.Example :Input: IXOutput: 9IX is a Roman symbol which represents 9 Input: XLOutput: 40XL is a Ro...
read more
C++
Microsoft
Amazon
Facebook
Twitter
Zoho
base-conversion
Java Program For Converting Roman Numerals To Decimal Lying Between 1 to 3999
Last Updated: 23 July 2025
Given a Roman numeral, the task is to find its corresponding decimal value.Example :Input: IXOutput: 9IX is a Roman symbol which represents 9 Input: XLOutput: 40XL is a Ro...
read more
Java
Microsoft
Amazon
Facebook
Twitter
Zoho
base-conversion
Python Program For Converting Roman Numerals To Decimal Lying Between 1 to 3999
Last Updated: 23 July 2025
Given a Roman numeral, the task is to find its corresponding decimal value.Example :Input: IXOutput: 9IX is a Roman symbol which represents 9 Input: XLOutput: 40XL is a Ro...
read more
Python
Microsoft
Amazon
Facebook
Twitter
Zoho
base-conversion
PHP Program to Convert Roman Numerals To Decimal Lying Between 1 to 3999
Last Updated: 23 July 2025
Given a Romal numeral, the task is to find its corresponding decimal value.ExamplesInput: IXOutput: 9IX is a Roman symbol which represents 9 Input: XLOutput: 40XL is a Rom...
read more
PHP
Microsoft
Amazon
Facebook
Twitter
Zoho
base-conversion
Javascript Program For Converting Roman Numerals To Decimal Lying Between 1 to 3999
Last Updated: 23 July 2025
Given a Romal numeral, the task is to find its corresponding decimal value.Example :Input: IXOutput: 9IX is a Roman symbol which represents 9 Input: XLOutput: 40XL is a Ro...
read more
JavaScript
Microsoft
Amazon
Facebook
Twitter
Zoho
base-conversion
Program to Subtract two integers of given base
Last Updated: 23 July 2025
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 - Y such that X = Y.Examples:Input: X = 1212, Y = 256, B =...
read more
DSA
base-conversion
Find the string present at the middle of a lexicographically increasing sequence of strings from S to T
Last Updated: 23 July 2025
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 S to T ( both...
read more
Strings
DSA
base-conversion
lexicographic-ordering
Represent a number N in base -2
Last Updated: 23 July 2021
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 * (- 2)0 + S1 * (- 2)1 + ... + Sk * (- 2)k = N. The st...
read more
Misc
Mathematical
DSA
base-conversion
Count bases which contains a set bit as the Most Significant Bit in the representation of N
Last Updated: 23 July 2025
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 of N is a found to be a set bit.Ex...
read more
Misc
Bit Magic
Mathematical
DSA
base-conversion
maths-log
Convert a number from base A to base B
Last Updated: 23 July 2025
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 the given string S from base A to base B.Examples:Input: ...
read more
DSA
base-conversion
1
2
3
4
5
6
7
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !