Computer Science, asked by Sopenyter4340, 9 months ago

Number of ways to divide array into parts of equal xor

Answers

Answered by Anonymous
6

▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬

\mathfrak{The\:Answer\:is}

Uptil present, there are two ways to divide arrays into parts of equal XOR i.e. through NOR and AND gate.

\boxed{Hope\:This\:Helps}

▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬

Answered by Anonymous
0

Input : A[] = { 1, 2, 3 }

Output : 3

{(1), (2, 3)}, {(2), (1, 3)}, {(3), (1, 2)}  

are three ways with equal XOR value of two

groups.

Input :  A[] = { 5, 2, 3, 2 }

Output : 0

Similar questions