## Number of special pairs possible from the given two numbers

Given two numbers A, B. The task is to find the numbers of special pairs of A, B. A special pair of two numbers A,… Read More »

Given two numbers A, B. The task is to find the numbers of special pairs of A, B. A special pair of two numbers A,… Read More »

Given a number N. The task is to find the smallest number which is greater than N and has only one bit different in the… Read More »

Given a number n, we have to find the number of possible values of X such that n = x + n ⊕ x. Here… Read More »

Given an integer . Find the number of solutions of which satisfies the equation: a = b + (a^b) Examples: Input: a = 4 Output:… Read More »

Given a singly linked list of integers. The task is to check if each element in the linked list is present in a pair i.e.… Read More »

Given an array of positive integers of size n. Find the count of the triplets whose AND is maximum and also find that maximum given… Read More »

Write a program that sets the rightmost 0 bit of an integer. Examples : Input: 12 (00…01100) Output: 13 (00…01001) Input: 7 (00…00111) Output: 15… Read More »

We have a number N. Determine the length of longest consecutive 0’s in its binary representation. Examples: Input : N = 14 Output : 1… Read More »

Given a series of numbers composed only of digits 3 and 5. The first few numbers in the series are: 3, 5, 33, 35, 53,… Read More »

Given a Binary Tree. The task is to print the number of set bits in each of the nodes in the Binary Tree. Recommended: Please… Read More »

Accolite hiring process include 6 rounds. 1.First Round::First round is online round, which has 30 MCQs.Accolite uses their own product called Eduthrill to conduct online… Read More »

Given an array A of size N where, . The task is to find the OR of all possible sub-arrays of A and then the… Read More »

Given an array A of size N where, . The task is to find the AND of all possible sub-arrays of A and then the… Read More »

Given a binary string. We are allowed to do circular rotation of the string without changing the relative order of the bits in the string.… Read More »

Given two integers, the task is to find the hamming distance between two integers. Hamming Distance between two integers is the number of bits which… Read More »