Skip to content

Tag Archives: base-conversion

A number n and a negative base negBase is given to us, we need to represent n in that negative base. Negative base works similar… Read More
Given a number, find its corresponding Roman numeral.  Examples:  Input : 9 Output : IX Input : 40 Output : XL Input : 1904 Output… 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
We generally counter with such conversion articles because many operations can be performed over a string while we are limited to when it comes to… Read More
Given a number and its base, convert it to decimal. The base of number can be anything such that all digits can be represented using… Read More
Prerequisite – Representation of Negative Binary Numbers  1’s complement of a binary number is another binary number obtained by toggling all bits in it, i.e.,… Read More

Start Your Coding Journey Now!