Arkose interview question

subarray sum,bit manupulation and xor sum