Skip to content

Tag Archives: binary-representation

Given a Binary string, the task is to find the largest Prime Number possible by the decimal representation of a subsequence of the given binary… Read More
Given an array arr[] consisting of N positive integers, the task is to rearrange the array such that the reversed binary representation of all the… Read More
Given a positive 32-bit integer N, the task is to find the maximum between the value of N and the number obtained by decimal representation… 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
Given a positive integer N representing the number of disks in the Tower of Hanoi, the task is to solve the Tower of Hanoi puzzle… Read More
Given an array arr[] consisting of N positive integers, the task is to find the maximum absolute difference between the sum of the array elements… Read More
Given a positive integer N, the task is to calculate the sum of all decimals which can be expressed as binary representations of first N… Read More
Given an array arr[] consisting of N integers, the task is to modify the array by replacing each array element with the number obtained by… Read More
We have already studied that the computer works with 0 and 1 these are a part of BIT a bit has two types of conditions… Read More
Given an array arr[] consisting of N integers, the task is to find the sum of all subsets from an array, whose sum is a… Read More
Given an array arr[] consisting of N positive integers, the task is to find the maximum absolute difference between the sum of the array elements… Read More
Given a square matrix mat[][] of dimension N*N, convert the elements present in both the diagonals to their respective binary representations and perform the following… Read More
Given an array arr[] consisting of N positive integers, the task is to modify every array element by reversing them binary representation and count the… Read More
Given two integers N and S, the task is to find a circular permutation of numbers from the range [0, 2(N – 1)], starting with… Read More
Given an integer N, the task is to find the number of trailing zeroes in the binary representation of the given number. Examples: Input: N… Read More

Start Your Coding Journey Now!