# Tag Archives: Bitwise-XOR

Given two integers L and R, the task is to calculate Bitwise XOR of all even numbers in the range [L, R]. Examples: Example: Input: L… Read More
Given a XOR linked list and an integer N, the task is to print the Nth node from the end of the given XOR linked… Read More
Given an XOR linked list, the task is to find the middle node of the given XOR linked list. Examples: Input: 4 –> 7 –>… Read More
Given an array A[] consisting of N integers and first element of the array B[] as K, the task is to construct the array B[]… Read More
Given three positive integers A, B, and N where A and B are the first two terms of the XOR Fibonacci series, the task is… Read More
Given a positive integer N, the task is to perform the following sequence of operations on the binary representation of N in C. Finding a… Read More
Given a XOR linked list and two integers position and value, the task is to insert a node containing value as the positionth node of… Read More
Given an array arr[] of size N and an integer K, the task is to find the length of the longest subarray having Bitwise XOR… Read More
Given six positive integers representing the Bitwise XOR and Bitwise AND of all possible pairs of a triplet (a, b, c), the task is to… Read More
Given two positive integers N and K, the task is to construct N positive integers having Bitwise XOR of all these integers equal to K.… Read More
Given an array arr[] consisting of N integers, the task is to find an integer K, not having more than maximum bits present in any… Read More
Given two integers X and Y, representing Bitwise XOR and Bitwise AND of two positive integers, the task is to calculate the Bitwise OR value… Read More
Given an array arr[] of length N, the task is to find the count of array indices such that removing an element from these indices… Read More
Given two integers X and Y, the task is to find the two integers having sum X and Bitwise XOR equal to Y. Examples: Input:… Read More
Given two positive integers A and B, the task is to flip the common set bitsin A and B. Examples: Input: A = 7, B… Read More