Skip to content

Tag Archives: Bitwise-XOR

Given two numbers A and B. Write a program to count the number of bits needed to be flipped to convert A to B.  Examples: … Read More
Asked by Varun Bhatia.  Question: Write a code for implementation of doubly linked list with use of single pointer in each node.  Solution:  C++ #include… Read More
Given an array arr[] of size N-1 with integers in the range of [1, N], the task is to find the missing number from the… Read More
Given an array of positive integers. All numbers occur an even number of times except one number which occurs an odd number of times. Find… Read More
Given an array arr[] consisting of positive integers that occur even number of times, except one number, which occurs odd number of times. The task… Read More

Start Your Coding Journey Now!