Arkose Interview Question

subarray sum,bit manupulation and xor sum