OpenGenus/cosmos

Implementing Subarray with given XOR

Open

#6 480 ouverte le 4 oct. 2022

Voir sur GitHub
 (4 commentaires) (0 réactions) (1 assigné)C++ (3 724 forks)batch import
Hacktoberfest

Métriques du dépôt

Stars
 (13 462 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur