Available question text
Maintain an array under two online operations — reverse any subarray and query the XOR of a given range — with up to many operations; the core challenge is to preserve element order under reversals while answering range-XOR queries efficiently, typically requiring a data structure that supports range updates and queries (e.g., implicit balanced BST or segment tree with lazy reversal).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3526. Range XOR Queries with Subarray Reversals
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source