DSA Key Problems

Count Subarrays with XOR K

Given an integer array and a target k, return the number of contiguous subarrays whose bitwise XOR equals k.