HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by emil-lp | Hacker News Reader
Parent
Full thread
emil-lp
·
Range minimum query? Isn't that just prefix sum and a queue?
View on HN
barishnamazov
·
You are probably confusing it with a sliding window problem. RMQ [0] is about finding the minimum value in given arbitrary subarray.
[0]
https://en.wikipedia.org/wiki/Range_minimum_query
emil-lp
·
You are right! That's interesting!
Reply on news.ycombinator.com