AlgoMaster Logo

Sparse Table (Range Minimum Query)

arr=[1, 3, 4, 8, 6, 1, 4, 2],queryL=2,queryR=6
0 / 35
arr1031428364154627
algomaster.io
Step:Start: Build a Sparse Table for array of size 8, then answer RMQ(2, 6).