OpenGenus/cosmos

Implementing Subarray with given XOR

Open

#6.480 geöffnet am 4. Okt. 2022

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C++ (3.724 Forks)batch import
Hacktoberfest

Repository-Metriken

Stars
 (13.462 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

This is a(n):

  • New algorithm
  • Update to an existing algorithm
  • Error
  • Proposal to the Repository

Details:

This is a very famous and important problem in bit_manupulation concept.

About Problem:

Given an array of integers A and an integer B. Find the total number of subarrays having bitwise XOR of all elements equals to B.

Contributor Guide