Groups
Offline query processing means you collect all queries first and answer them later in a smart order that makes updates/queries cheap.
Mo's algorithm answers many range queries offline by reordering them to minimize pointer movement along the array.