Structure to represent a query A query consists of ( L , R ) and we will process the queries offline a / c to Tarjan 's oflline LCA algorithm
class Query { constructor ( L , R ) { this . L = L ; this . R = R ; } }