# 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