Count Pairs With XOR in Range

Given an array of integers and a range [low, high], count the number of pairs (i, j) with i < j such that the XOR of the pair falls within the inclusive range.

Examples
Input: []
Output: 0
Hints

Count Pairs With XOR in Range

Given an array of integers and a range `[low, high]`, count the number of pairs `(i, j)` with `i < j` such that the XOR of the pair falls within the inclusive range.