Questions tagged [range-query]
95 questions
-1
votes
2 answers
How to query a range in an array and print the [xth, x + yth] most frequent integers in the array?
Assume some arbitrary array of ints, for example [3, 1, 1, 1, 13, 13, 13, 13, 13, 8, 8, 8, 8, 8, 8] (order doesnt matter, I just ordered them so its easier to read)
How can I go about creating a method which, when asked for a range, say [2,4],…

0jnats3
- 85
- 1
- 7
-1
votes
1 answer
R-tree Range Query and Nearest Neighbor Search in Python
where can I find an efficient implementation of R-tree and the range query and neighbor searching especially in Python?
Want to understand how these queries work using the code.(i am a beginner)

user9500575
- 1
- 4
-1
votes
1 answer
2D data point range query
I am working with a huge 2d dataset and need a range query for every point, returning the neighbours within a range as a set
I already have tested using an index with KD Tree form sk learn, but the problem is, it returns the index as a list and the…

Felix Ha
- 401
- 5
- 11
-2
votes
1 answer
Finding number of occurences of an integer in a particular range
Given an array(unsorted) of n integers and an integer 'X'. We are also given a range (low,high).
How can we find the number of occurrences of 'X' in the range (low,high). Can we do it by Segment tree..??

Harsh Agarwal
- 25
- 1
- 6
-3
votes
2 answers
mysql range query , use index judge range large
mysql table struct
it make me confuse, if query range influence use index in mysql
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Qijun Yao
- 1
- 1