Range XOR Queries with Subarray Reversals

Range XOR Queries with Subarray Reversals - Coding Problem | K5kC