Offline query processing Checking existence of edge length limited paths Count substrings that satisfy k constraint ii Find building where alice and bob can meet Maximum sum queries Minimum absolute difference queries